httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject cvs commit: httpd-2.0/modules/proxy proxy_http.c
Date Thu, 11 Nov 2004 20:06:21 GMT
jorton      2004/11/11 12:06:21

  Modified:    modules/proxy proxy_http.c
  Log:
  * modules/proxy/proxy_http.c (ap_proxy_http_process_response): Don't treat
  the 205 status-code like 204 or 304, per recent http-wg discussion:
  http://lists.w3.org/Archives/Public/ietf-http-wg/2004JulSep/0083.html
  
  Revision  Changes    Path
  1.203     +0 -2      httpd-2.0/modules/proxy/proxy_http.c
  
  Index: proxy_http.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/proxy/proxy_http.c,v
  retrieving revision 1.202
  retrieving revision 1.203
  diff -d -w -u -r1.202 -r1.203
  --- proxy_http.c	11 Nov 2004 19:49:56 -0000	1.202
  +++ proxy_http.c	11 Nov 2004 20:06:20 -0000	1.203
  @@ -1002,7 +1002,6 @@
           if ((!r->header_only) &&                   /* not HEAD request */
               !interim_response &&                   /* not any 1xx response */
               (r->status != HTTP_NO_CONTENT) &&      /* not 204 */
  -            (r->status != HTTP_RESET_CONTENT) &&   /* not 205 */
               (r->status != HTTP_NOT_MODIFIED)) {    /* not 304 */
   
               /* We need to copy the output headers and treat them as input
  @@ -1117,7 +1116,6 @@
               r->status = HTTP_OK;
               /* Discard body, if one is expected */
               if ((status != HTTP_NO_CONTENT) && /* not 204 */
  -                (status != HTTP_RESET_CONTENT) && /* not 205 */
                   (status != HTTP_NOT_MODIFIED)) { /* not 304 */
                  ap_discard_request_body(rp);
              }
  
  
  

Mime
View raw message