From: Ryan Bloom Date: Mon, 6 Nov 2000 20:43:19 +0000 (+0000) Subject: ap_send_fd should not be sending an EOS bucket, so we should remove any X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7d639ad8ddce3b0aa2f8c2f986e4670fe3a85ab1;p=apache ap_send_fd should not be sending an EOS bucket, so we should remove any trace of that possibility from the code. First of all, there is nothing that says you can only send one file bucket in a response, and second, even if a handler sends a file, nothing says that it can't add text before or after it too. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86846 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http/http_protocol.c b/modules/http/http_protocol.c index c34e6ce174..b928983e17 100644 --- a/modules/http/http_protocol.c +++ b/modules/http/http_protocol.c @@ -2763,11 +2763,6 @@ AP_DECLARE(apr_status_t) ap_send_fd(apr_file_t *fd, request_rec *r, apr_off_t of b = ap_bucket_create_file(fd, offset, len); AP_BRIGADE_INSERT_TAIL(bb, b); - /* Hummm, is this the right place to insert eos? */ -#if 0 - b = ap_bucket_create_eos(); - AP_BRIGADE_INSERT_TAIL(bb, b); -#endif rv = ap_pass_brigade(r->output_filters, bb); if (rv != APR_SUCCESS) { *nbytes = 0; /* no way to tell how many were actually sent */