fielding    97/08/22 21:57:05

  Modified:    src/modules/proxy proxy_http.c
  Log:
  The ProxyRemote change introduced a bug resulting in the proxy
  always making requests with the full-URI instead of just the URI path.
  
  Submitted by: Marc Slemko, Roy Fielding
  
  Revision  Changes    Path
  1.28      +2 -1      apachen/src/modules/proxy/proxy_http.c
  
  Index: proxy_http.c
  ===================================================================
  RCS file: /export/home/cvs/apachen/src/modules/proxy/proxy_http.c,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- proxy_http.c      1997/08/18 06:53:20     1.27
  +++ proxy_http.c      1997/08/23 04:57:03     1.28
  @@ -270,7 +270,8 @@
       bpushfd(f, sock, sock);
   
       hard_timeout ("proxy send", r);
  -    bvputs(f, r->method, " ", url, " HTTP/1.0\015\012", NULL);
  +    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);
  
  
  

Reply via email to