fielding 97/08/20 19:24:32
Modified: src/modules/proxy Tag: APACHE_1_2_X proxy_http.c
Log:
Fix bug introduced by last change in 1.2.3, resulting in the proxy
always making requests with the full-URI instead of just the URI path.
Submitted by: Marc Slemko
Reviewed by: Roy Fielding
Revision Changes Path
No revision
No revision
1.17.2.4 +1 -1 apache/src/modules/proxy/proxy_http.c
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.4
diff -u -r1.17.2.3 -r1.17.2.4
--- proxy_http.c 1997/08/17 21:00:48 1.17.2.3
+++ proxy_http.c 1997/08/21 02:24:30 1.17.2.4
@@ -250,7 +250,7 @@
bpushfd(f, sock, sock);
hard_timeout ("proxy send", r);
- bvputs(f, r->method, " ", url, " HTTP/1.0\015\012", NULL);
+ bvputs(f, r->method, " ", urlptr, " HTTP/1.0\015\012", NULL);
bvputs(f, "Host: ", desthost, NULL);
if (destportstr != NULL && destport != DEFAULT_PORT)
bvputs(f, ":", destportstr, "\015\012", NULL);