From: Joe Orton Date: Mon, 26 Jan 2004 21:09:12 +0000 (+0000) Subject: * server/protocol.c (ap_rgetline_core): Fix folding if header is X-Git-Tag: pre_ajp_proxy~767 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d78bd01cc6c97191a20fcde35493122253b8f898;p=thirdparty%2Fapache%2Fhttpd.git * server/protocol.c (ap_rgetline_core): Fix folding if header is continued over more than two lines. PR: 19405 (affects proxy only) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102414 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/protocol.c b/server/protocol.c index cd3be724ad9..88680cb658c 100644 --- a/server/protocol.c +++ b/server/protocol.c @@ -461,6 +461,7 @@ AP_DECLARE(apr_status_t) ap_rgetline_core(char **s, apr_size_t n, *s = new_buffer; } + last_char += next_len; bytes_handled += next_len; } }