From: Jeff Trawick Date: Wed, 1 Nov 2000 18:24:11 +0000 (+0000) Subject: Don't include a '\0' in the header. (I'm still seeing more binary stuff X-Git-Tag: APACHE_2_0_ALPHA_8~205 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=339bd0b7e44123db84ccbcba198e635e29fffcdd;p=apache Don't include a '\0' in the header. (I'm still seeing more binary stuff in the header, but one fix at a time...) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86789 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http/http_protocol.c b/modules/http/http_protocol.c index 61958372a7..76667af476 100644 --- a/modules/http/http_protocol.c +++ b/modules/http/http_protocol.c @@ -2417,7 +2417,7 @@ AP_CORE_DECLARE_NONSTD(apr_status_t) ap_http_header_filter(ap_filter_t *f, ap_bu buff = apr_pcalloc(r->pool, len); e = ap_bucket_create_pool(buff, len, r->pool); ap_basic_http_header(r, buff); - buff += strlen(buff) + 1; + buff += strlen(buff); h.r = r; h.buf = buff;