httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ch...@apache.org
Subject cvs commit: httpd-2.0/modules/http http_protocol.c
Date Fri, 16 Mar 2001 07:37:12 GMT
chuck       01/03/15 23:37:12

  Modified:    .        CHANGES
               modules/http http_protocol.c
  Log:
  Stops the forced downgrade of the connection to HTTP/1.0 for proxy requests.
  Submitted by:	Graham Leggett
  Reviewed by:	Chuck Murcko
  
  Revision  Changes    Path
  1.134     +4 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.133
  retrieving revision 1.134
  diff -u -r1.133 -r1.134
  --- CHANGES	2001/03/16 07:28:01	1.133
  +++ CHANGES	2001/03/16 07:37:10	1.134
  @@ -1,4 +1,8 @@
   Changes with Apache 2.0.15-dev
  +
  +  *) Stop the forced downgrade of the connection to HTTP/1.0 for
  +     proxy requests.  [Graham Leggett]
  +
     *) Avoid using sscanf to determine the HTTP protocol number in
        the common case because sscanf is a performance hog. From
        Mike Abbot's Accelerating Apache patch number 6.
  
  
  
  1.308     +3 -5      httpd-2.0/modules/http/http_protocol.c
  
  Index: http_protocol.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/http/http_protocol.c,v
  retrieving revision 1.307
  retrieving revision 1.308
  diff -u -r1.307 -r1.308
  --- http_protocol.c	2001/03/05 04:43:55	1.307
  +++ http_protocol.c	2001/03/16 07:37:12	1.308
  @@ -770,12 +770,10 @@
       if (!r->status_line)
           r->status_line = status_lines[ap_index_of_response(r->status)];
   
  -    /* mod_proxy is only HTTP/1.0, so avoid sending HTTP/1.1 error response;
  -     * kluge around broken browsers when indicated by force-response-1.0
  +    /* kluge around broken browsers when indicated by force-response-1.0
        */
  -    if (r->proxyreq
  -        || (r->proto_num == HTTP_VERSION(1,0)
  -            && apr_table_get(r->subprocess_env, "force-response-1.0"))) {
  +    if (r->proto_num == HTTP_VERSION(1,0)
  +            && apr_table_get(r->subprocess_env, "force-response-1.0")) {
   
           *protocol = "HTTP/1.0";
           r->connection->keepalive = -1;
  
  
  

Mime
View raw message