You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Ralf S. Engelschall" <rs...@engelschall.com> on 1997/08/21 11:48:53 UTC
mod_proxy_fix_2.patch was wrong !
The mod_proxy_fix_2.patch file was wrong, because it contained only a "diff
-r1.17.2.4 -r1.17.2.5" instead of the correct ""diff -r1.17.2.3 -r1.17.2.5"
(1.17.2.3=APACHE_1_2_3). I've created a new mod_proxy_fix_3.patch file which
now applies cleanly to the released Apache 1.2.3 source tree. It is appended
below and already in dist/patches/apply_to_1.2.3/.
Ralf S. Engelschall
rse@engelschall.com
www.engelschall.com
This patch fixes a problem with mod_proxy in 1.2.3 where it will not properly
talk to most servers. This patch replaces the mod_proxy_fix.patch and
mod_proxy_fix_2.patch which were available for a short time.
Index: proxy_http.c
===================================================================
RCS file: /export/home/cvs/apache/src/modules/proxy/proxy_http.c,v
retrieving revision 1.17.2.3
retrieving revision 1.17.2.5
diff -u -c -r1.17.2.3 -r1.17.2.5
*** proxy_http.c 1997/08/17 21:00:48 1.17.2.3
--- proxy_http.c 1997/08/21 02:44:30 1.17.2.5
***************
*** 250,256 ****
bpushfd(f, sock, sock);
hard_timeout ("proxy send", r);
! bvputs(f, r->method, " ", url, " HTTP/1.0\015\012", NULL);
bvputs(f, "Host: ", desthost, NULL);
if (destportstr != NULL && destport != DEFAULT_PORT)
bvputs(f, ":", destportstr, "\015\012", NULL);
--- 250,257 ----
bpushfd(f, sock, sock);
hard_timeout ("proxy send", r);
! bvputs(f, r->method, " ", proxyhost ? url : urlptr, " HTTP/1.0\015\012",
! NULL);
bvputs(f, "Host: ", desthost, NULL);
if (destportstr != NULL && destport != DEFAULT_PORT)
bvputs(f, ":", destportstr, "\015\012", NULL);