From 895794d2625e22a102b6e5a4abe397c690b83007 Mon Sep 17 00:00:00 2001 From: Ryan Bloom Date: Mon, 6 Nov 2000 20:43:19 +0000 Subject: [PATCH] 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 --- modules/http/http_protocol.c | 5 ----- 1 file changed, 5 deletions(-) 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 */ -- 2.40.0