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_http.c
Date Sat, 07 Apr 2001 19:41:03 GMT
minfrin     01/04/07 12:41:03

  Modified:    module-2.0 proxy_http.c
  Log:
  Downstream keepalives in mod_proxy should not kick in if the upstream
  client is < HTTP/1.1
  
  Revision  Changes    Path
  1.47      +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.46
  retrieving revision 1.47
  diff -u -r1.46 -r1.47
  --- proxy_http.c	2001/04/07 14:06:13	1.46
  +++ proxy_http.c	2001/04/07 19:41:03	1.47
  @@ -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) {
  +    if (close || (r->proto_num < 1001)) {
           apr_socket_close(sock);
   	conf->client_socket = NULL;
       }
  
  
  

Mime
View raw message