Loading include/http_protocol.h +1 −1 Original line number Diff line number Diff line Loading @@ -561,7 +561,7 @@ struct ap_bucket_error { /** The error code */ int status; /** The error string */ const char *start; const char *data; }; AP_DECLARE_DATA extern const apr_bucket_type_t ap_bucket_type_error; Loading modules/http/http_core.c +2 −3 Original line number Diff line number Diff line Loading @@ -3219,8 +3219,7 @@ static apr_status_t core_output_filter(ap_filter_t *f, apr_bucket_brigade *b) */ else if (APR_BUCKET_IS_FILE(e) && (e->length >= AP_MIN_SENDFILE_BYTES)) { apr_bucket_shared *s = e->data; apr_bucket_file *a = s->data; apr_bucket_file *a = e->data; /* We can't handle more than one file bucket at a time * so we split here and send the file we have already Loading @@ -3233,7 +3232,7 @@ static apr_status_t core_output_filter(ap_filter_t *f, apr_bucket_brigade *b) fd = a->fd; flen = e->length; foffset = s->start; foffset = e->start; } else { const char *str; Loading server/error_bucket.c +2 −3 Original line number Diff line number Diff line Loading @@ -78,11 +78,10 @@ AP_DECLARE(apr_bucket *) ap_bucket_error_make(apr_bucket *b, int error, return NULL; } h->status = error; if (buf) { h->start = apr_pstrdup(p, buf); } h->data = (buf) ? apr_pstrdup(p, buf) : NULL; b->length = 0; b->start = 0; b->type = &ap_bucket_type_error; b->data = h; return b; Loading Loading
include/http_protocol.h +1 −1 Original line number Diff line number Diff line Loading @@ -561,7 +561,7 @@ struct ap_bucket_error { /** The error code */ int status; /** The error string */ const char *start; const char *data; }; AP_DECLARE_DATA extern const apr_bucket_type_t ap_bucket_type_error; Loading
modules/http/http_core.c +2 −3 Original line number Diff line number Diff line Loading @@ -3219,8 +3219,7 @@ static apr_status_t core_output_filter(ap_filter_t *f, apr_bucket_brigade *b) */ else if (APR_BUCKET_IS_FILE(e) && (e->length >= AP_MIN_SENDFILE_BYTES)) { apr_bucket_shared *s = e->data; apr_bucket_file *a = s->data; apr_bucket_file *a = e->data; /* We can't handle more than one file bucket at a time * so we split here and send the file we have already Loading @@ -3233,7 +3232,7 @@ static apr_status_t core_output_filter(ap_filter_t *f, apr_bucket_brigade *b) fd = a->fd; flen = e->length; foffset = s->start; foffset = e->start; } else { const char *str; Loading
server/error_bucket.c +2 −3 Original line number Diff line number Diff line Loading @@ -78,11 +78,10 @@ AP_DECLARE(apr_bucket *) ap_bucket_error_make(apr_bucket *b, int error, return NULL; } h->status = error; if (buf) { h->start = apr_pstrdup(p, buf); } h->data = (buf) ? apr_pstrdup(p, buf) : NULL; b->length = 0; b->start = 0; b->type = &ap_bucket_type_error; b->data = h; return b; Loading