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 mod_proxy.h proxy_http.c
Date Sun, 08 Apr 2001 16:29:33 GMT
minfrin     01/04/08 09:29:32

  Modified:    module-2.0 mod_proxy.h proxy_http.c
  Log:
  HTTP_VERSION() is the correct way to do this...
  
  Revision  Changes    Path
  1.37      +0 -5      httpd-proxy/module-2.0/mod_proxy.h
  
  Index: mod_proxy.h
  ===================================================================
  RCS file: /home/cvs/httpd-proxy/module-2.0/mod_proxy.h,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- mod_proxy.h	2001/04/08 09:49:49	1.36
  +++ mod_proxy.h	2001/04/08 16:29:29	1.37
  @@ -155,11 +155,6 @@
   };
   #endif
   
  -/* different HTTP versions we need to care about */
  -#define HTTP_0_9			0009
  -#define HTTP_1_0			1000
  -#define HTTP_1_1			1001
  -
   /* static information about a remote proxy */
   struct proxy_remote {
       const char *scheme;		/* the schemes handled by this proxy, or '*' */
  
  
  
  1.49      +1 -1      httpd-proxy/module-2.0/proxy_http.c
  
  Index: proxy_http.c
  ===================================================================
  RCS file: /home/cvs/httpd-proxy/module-2.0/proxy_http.c,v
  retrieving revision 1.48
  retrieving revision 1.49
  diff -u -r1.48 -r1.49
  --- proxy_http.c	2001/04/08 09:49:49	1.48
  +++ proxy_http.c	2001/04/08 16:29:30	1.49
  @@ -738,7 +738,7 @@
       /* if the connection is < HTTP/1.1, or Connection: close,
        * we close the socket, otherwise we leave it open for KeepAlive support
        */
  -    if (close || (r->proto_num < HTTP_1_1)) {
  +    if (close || (r->proto_num < HTTP_VERSION(1,1))) {
           apr_socket_close(sock);
   	conf->client_socket = NULL;
       }
  
  
  

Mime
View raw message