Project

General

Profile

Bug #897 ยป apache2-2.2.16-rgw-1.patch

Yehuda Sadeh, 03/18/2011 05:28 PM

View differences:

apache2-2.2.16/modules/http/http_filters.c 2011-03-18 15:49:43.651898321 -0700
if (r->header_only
&& (clheader = apr_table_get(r->headers_out, "Content-Length"))
&& !strcmp(clheader, "0")) {
ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r,
"not unsetting Content-Length on HEAD response (rgw changes)\n");
#if 0
apr_table_unset(r->headers_out, "Content-Length");
#endif
}
b2 = apr_brigade_create(r->pool, c->bucket_alloc);
    (1-1/1)