trunk patch: http://svn.apache.org/r1490994
Submitted by: jailletc36
Reviewed by: covener, minfrin
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@
1491466 13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 2.4.5
+ *) proxy_util: NULL terminate the right buffer in 'send_http_connect'.
+ [Christophe Jaillet]
+
*) mod_remoteip: close file in error path. [Christophe Jaillet]
*) mod_lua: Sync 2.4 branch with trunk. This includes (but is not limited to)
2.4.x patch: trunk patch works modulo CHANGES and mmn bump
+1: minfrin, jim, sf
- * proxy_util: NULL terminate the right buffer in 'send_http_connect'
- trunk patch: http://svn.apache.org/r1490994
- 2.4.x patch: trunk patch works
- +1: jailletc36, covener, minfrin
-
PATCHES PROPOSED TO BACKPORT FROM TRUNK:
[ New proposals should be added at the end of the list ]
nbytes = sizeof(drain_buffer) - 1;
while (status == APR_SUCCESS && nbytes) {
status = apr_socket_recv(backend->sock, drain_buffer, &nbytes);
- buffer[nbytes] = '\0';
+ drain_buffer[nbytes] = '\0';
nbytes = sizeof(drain_buffer) - 1;
if (strstr(drain_buffer, "\r\n\r\n") != NULL) {
break;