From: Ryan Bloom Date: Mon, 13 Nov 2000 14:19:41 +0000 (+0000) Subject: The core handler should never close a file, because we haven't actually X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5fbf9d22b5dce9c65d24b5cac313083cadf6f23f;p=apache The core handler should never close a file, because we haven't actually sent the file yet. This also removes the send_http_headers call, because that's a no-op so it doesn't make much sense to leave it in. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86938 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http/http_core.c b/modules/http/http_core.c index 46f5c74ef2..3db10725d3 100644 --- a/modules/http/http_core.c +++ b/modules/http/http_core.c @@ -2939,15 +2939,12 @@ static int default_handler(request_rec *r) ap_md5digest(r->pool, fd)); } - ap_send_http_header(r); - if (!r->header_only) { apr_size_t nbytes; ap_send_fd(fd, r, 0, r->finfo.size, &nbytes); } - apr_close(fd); return OK; }