an HTTP/0.9 response or a bogus status line.
Submitted by: Adam Sussman
Reviewed by: Bill Stoddard
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92693
13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 2.0.30-dev
+ *) Fix mod_proxy seg fault when the proxied server returns
+ an HTTP/0.9 response or a bogus status line.
+ [Adam Sussman]
+
*) Prevent mod_proxy from truncating one character off the
end of the status line returned from the proxied server.
[Adam Sussman, Bill Stoddard]
/* Is it an HTTP/0.9 response? If so, send the extra data */
if (backasswards) {
apr_ssize_t cntr = len;
- e = apr_bucket_heap_create(buffer, cntr, 0);
+ e = apr_bucket_heap_create(buffer, cntr, 1);
APR_BRIGADE_INSERT_TAIL(bb, e);
}