httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ch...@apache.org
Subject cvs commit: apache-1.3/src/main http_protocol.c
Date Fri, 18 Jan 2002 20:26:06 GMT
chuck       02/01/18 12:26:06

  Modified:    src/main http_protocol.c
  Log:
  The core code touch for the proxy HTTP 1.1 switch
  
  Revision  Changes    Path
  1.307     +3 -5      apache-1.3/src/main/http_protocol.c
  
  Index: http_protocol.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/main/http_protocol.c,v
  retrieving revision 1.306
  retrieving revision 1.307
  diff -u -d -b -u -r1.306 -r1.307
  --- http_protocol.c	14 Jan 2002 14:39:51 -0000	1.306
  +++ http_protocol.c	18 Jan 2002 20:26:06 -0000	1.307
  @@ -1520,12 +1520,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 != NOT_PROXY
  -        || (r->proto_num == HTTP_VERSION(1,0)
  -            && ap_table_get(r->subprocess_env, "force-response-1.0"))) {
  +    if (r->proto_num == HTTP_VERSION(1,0)
  +       && ap_table_get(r->subprocess_env, "force-response-1.0")) {
   
           protocol = "HTTP/1.0";
           r->connection->keepalive = -1;
  
  
  

Mime
View raw message