*) mod_proxy_connect, mod_proxy: Do not change the status code after we
already sent it to the client.
Trunk version of patch:
https://svn.apache.org/r1895715
Backport version for 2.4.x of patch:
https://patch-diff.githubusercontent.com/raw/apache/httpd/pull/283.diff
Can be applied via apply_backport_pr.sh 283
+1: rpluem, icing, minfrin
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@
1895903 13f79535-47bb-0310-9956-
ffa450edef68
-*- coding: utf-8 -*-
Changes with Apache 2.4.52
+ *) mod_proxy_connect, mod_proxy: Do not change the status code after we
+ already sent it to the client.
+
*) mod_http: Correctly sent a 100 Continue status code when sending an interim
response as result of an Expect: 100-Continue in the request and not the
current status code of the request. PR 65725 [Ruediger Pluem]
PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
[ start all new proposals below, under PATCHES PROPOSED. ]
- *) mod_proxy_connect, mod_proxy: Do not change the status code after we
- already sent it to the client.
- Trunk version of patch:
- https://svn.apache.org/r1895715
- Backport version for 2.4.x of patch:
- https://patch-diff.githubusercontent.com/raw/apache/httpd/pull/283.diff
- Can be applied via apply_backport_pr.sh 283
- +1: rpluem, icing, minfrin
PATCHES PROPOSED TO BACKPORT FROM TRUNK:
if (proxyport && !tunnel->replied) {
return rc;
}
- /* Custom log may need this, still */
- r->status = rc;
}
/*
/* Let proxy tunnel forward everything */
status = ap_proxy_tunnel_run(tunnel);
- if (ap_is_HTTP_ERROR(status)) {
- /* Tunnel always return HTTP_GATEWAY_TIME_OUT on timeout,
- * but we can differentiate between client and backend here.
- */
- if (status == HTTP_GATEWAY_TIME_OUT
- && tunnel->timeout == client_timeout) {
- status = HTTP_REQUEST_TIME_OUT;
- }
- }
- else {
- /* Update r->status for custom log */
- status = HTTP_SWITCHING_PROTOCOLS;
- }
- r->status = status;
/* We are done with both connections */
return DONE;