]> granicus.if.org Git - apache/commitdiff
ap_send_fd should not be sending an EOS bucket, so we should remove any
authorRyan Bloom <rbb@apache.org>
Mon, 6 Nov 2000 20:43:19 +0000 (20:43 +0000)
committerRyan Bloom <rbb@apache.org>
Mon, 6 Nov 2000 20:43:19 +0000 (20:43 +0000)
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

modules/http/http_protocol.c

index c34e6ce1749c37ec6be352ac723bb8ad5b0f22d8..b928983e1754dffdd9972ec93b68a76208218346 100644 (file)
@@ -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 */