option in the docs page, like e.g. we did for SSLInsecureRenegotiation.
wrowe asks; you mean <Compatibility> tag? Yes, of course.
- *) mod_proxy_ajp: Ensure that we only return a non fatal error if the request
- is idempotent and if we did not sent any request body so far.
- Trunk version of patch:
- http://svn.apache.org/viewvc?rev=955966&view=rev
- Backport version for 2.2.x of patch:
- Trunk version of patch works
- +1: rpluem, trawick, niq
- niq asks: did anyone check whether a similar change might be in order
- in mod_proxy_http? Or any of the CGI implementations?
-
PATCHES PROPOSED TO BACKPORT FROM TRUNK:
[ New proposals should be added at the end of the list ]
*/
if (data_sent) {
ap_proxy_backend_broke(r, output_brigade);
- } else
+ } else if (!send_body && (is_idempotent(r) == METHOD_IDEMPOTENT)) {
+ /*
+ * This is only non fatal when we have not sent (parts) of a possible
+ * request body so far (we do not store it and thus cannot sent it
+ * again) and the method is idempotent. In this case we can dare to
+ * retry it with a different worker if we are a balancer member.
+ */
rv = HTTP_SERVICE_UNAVAILABLE;
+ } else {
+ rv = HTTP_INTERNAL_SERVER_ERROR;
+ }
}
/*