httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r230726 - /httpd/httpd/branches/proxy-reqbody-2.0.x/modules/proxy/proxy_http.c
Date Mon, 08 Aug 2005 01:28:17 GMT
Author: wrowe
Date: Sun Aug  7 18:28:14 2005
New Revision: 230726

URL: http://svn.apache.org/viewcvs?rev=230726&view=rev
Log:

  Backport the fix to an edge case, it's now possible for a primary
  request which has a body in spite of what was determined by the
  header parsing; this would usually be due to an input filter between
  the client request and mod_proxy.  Add another consideration, and
  force the C-L determination if we saw bytes in already.

Modified:
    httpd/httpd/branches/proxy-reqbody-2.0.x/modules/proxy/proxy_http.c

Modified: httpd/httpd/branches/proxy-reqbody-2.0.x/modules/proxy/proxy_http.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/proxy-reqbody-2.0.x/modules/proxy/proxy_http.c?rev=230726&r1=230725&r2=230726&view=diff
==============================================================================
--- httpd/httpd/branches/proxy-reqbody-2.0.x/modules/proxy/proxy_http.c (original)
+++ httpd/httpd/branches/proxy-reqbody-2.0.x/modules/proxy/proxy_http.c Sun Aug  7 18:28:14
2005
@@ -1144,7 +1144,8 @@
     case RB_SPOOL_CL:
         status = spool_reqbody_cl(p, r, p_conn, origin, bb,
                                   input_brigade, (old_cl_val != NULL)
-                                              || (old_te_val != NULL));
+                                              || (old_te_val != NULL)
+                                              || (bytes_read > 0));
         break;
     default:
         ap_assert(1 != 1);



Mime
View raw message