PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
[ start all new proposals below, under PATCHES PROPOSED. ]
- *) mod_proxy_fcgi: read the whole FCGI response even for HTTP Precondition
- failed (412) responses to avoid subsequent bogus reads and
- confusing error messages logged.
- trunk patch: http://svn.apache.org/r1759984
- http://svn.apache.org/r1760018
- 2.4.x patch: trunk works
- +1 elukey, jim, ylavic
-
*) mod_proxy: add log trace points to help users diagnose problems with
ProxyPass[Match].
trunk patch: http://svn.apache.org/r1762517
*err = "passing headers brigade to output filters";
break;
}
- else if (status == HTTP_NOT_MODIFIED) {
- /* The 304 response MUST NOT contain
- * a message-body, ignore it.
+ else if (status == HTTP_NOT_MODIFIED
+ || status == HTTP_PRECONDITION_FAILED) {
+ /* Special 'status' cases handled:
+ * 1) HTTP 304 response MUST NOT contain
+ * a message-body, ignore it.
+ * 2) HTTP 412 response.
* The break is not added since there might
* be more bytes to read from the FCGI
* connection. Even if the message-body is
- * ignored we want to avoid subsequent
+ * ignored (and the EOS bucket has already
+ * been sent) we want to avoid subsequent
* bogus reads. */
ignore_body = 1;
}