mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
this comment is way bogus
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95656 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -1453,11 +1453,6 @@ AP_CORE_DECLARE_NONSTD(apr_status_t) ap_http_header_filter(ap_filter_t *f,
|
|||||||
|
|
||||||
AP_DEBUG_ASSERT(!r->main);
|
AP_DEBUG_ASSERT(!r->main);
|
||||||
|
|
||||||
/* Handlers -should- be smart enough not to send content on HEAD requests.
|
|
||||||
* To guard against poorly written handlers, leave the header_filter
|
|
||||||
* installed (but only for HEAD requests) to intercept and discard content
|
|
||||||
* after the headers have been sent.
|
|
||||||
*/
|
|
||||||
if (r->header_only) {
|
if (r->header_only) {
|
||||||
if (!ctx) {
|
if (!ctx) {
|
||||||
ctx = f->ctx = apr_pcalloc(r->pool, sizeof(header_filter_ctx));
|
ctx = f->ctx = apr_pcalloc(r->pool, sizeof(header_filter_ctx));
|
||||||
|
Reference in New Issue
Block a user