httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minf...@apache.org
Subject cvs commit: httpd-proxy/module-2.0 proxy_connect.c
Date Sat, 07 Apr 2001 21:12:39 GMT
minfrin     01/04/07 14:12:39

  Modified:    module-2.0 proxy_connect.c
  Log:
  Make the CONNECT proxy talk HTTP/1.1. Still need to check if this is
  compliant with HTTP/1.1 though...
  
  Revision  Changes    Path
  1.28      +2 -3      httpd-proxy/module-2.0/proxy_connect.c
  
  Index: proxy_connect.c
  ===================================================================
  RCS file: /home/cvs/httpd-proxy/module-2.0/proxy_connect.c,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- proxy_connect.c	2001/04/07 21:09:37	1.27
  +++ proxy_connect.c	2001/04/07 21:12:39	1.28
  @@ -256,8 +256,7 @@
        * the CONNECT request on to it.
        */
       if (proxyport) {
  -	/* FIXME: Error checking ignored.  Also, we force
  -	 * a HTTP/1.0 request to keep things simple.
  +	/* FIXME: Error checking ignored.
   	 */
           ap_log_error(APLOG_MARK, APLOG_DEBUG|APLOG_NOERRNO, 0, NULL,
   		     "proxy: CONNECT: sending the CONNECT request to the remote proxy");
  @@ -271,7 +270,7 @@
       else {
           ap_log_error(APLOG_MARK, APLOG_DEBUG|APLOG_NOERRNO, 0, NULL,
   		     "proxy: CONNECT: Returning 200 OK Status");
  -        ap_rvputs(r, "HTTP/1.0 200 Connection established" CRLF, NULL);
  +        ap_rvputs(r, "HTTP/1.1 200 Connection established" CRLF, NULL);
           ap_rvputs(r, "Proxy-agent: ", ap_get_server_version(), CRLF CRLF, NULL);
           ap_rflush(r);
       }
  
  
  

Mime
View raw message