]> granicus.if.org Git - apache/commitdiff
* server/protocol.c (ap_rgetline_core): Fix folding if header is
authorJoe Orton <jorton@apache.org>
Mon, 26 Jan 2004 21:09:12 +0000 (21:09 +0000)
committerJoe Orton <jorton@apache.org>
Mon, 26 Jan 2004 21:09:12 +0000 (21:09 +0000)
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

server/protocol.c

index cd3be724ad97ef7337a75338c5886d69b488681a..88680cb658cee441249b451f575ad32b173b202c 100644 (file)
@@ -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;
                 }
             }