httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/modules/http http_protocol.c
Date Sun, 26 Aug 2001 04:59:37 GMT
wrowe       01/08/25 21:59:37

  Modified:    modules/http http_protocol.c
  Log:
    Readded "downgrade-1.0" which I (inadvertantly) pulled with the
    map_to_storage patch.  I knew it had to have a better home, and
    it sure looks like this is it.
  
  Revision  Changes    Path
  1.358     +4 -0      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.357
  retrieving revision 1.358
  diff -u -r1.357 -r1.358
  --- http_protocol.c	2001/08/25 23:43:18	1.357
  +++ http_protocol.c	2001/08/26 04:59:37	1.358
  @@ -898,6 +898,10 @@
       else {
           *protocol = AP_SERVER_PROTOCOL;
       }
  +
  +    if (r->proto_num > HTTP_VERSION(1,0) && apr_table_get(r->subprocess_env,
"downgrade-1.0")) {
  +        r->proto_num = HTTP_VERSION(1,0);
  +    }
   }
   
   /* fill "bb" with a barebones/initial HTTP response header */
  
  
  

Mime
View raw message