1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

* Do not change the status code after we already sent it to the client.

Changing the status code after we sent it to the client causes a status
  code being logged that is different from the one sent to the client which
  can be confusing.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1895715 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ruediger Pluem
2021-12-09 07:40:25 +00:00
parent 5be0a5fe0a
commit 43d7517dd7
2 changed files with 0 additions and 5 deletions

View File

@@ -1539,9 +1539,6 @@ int ap_proxy_http_process_response(proxy_http_req_t *req)
/* Let proxy tunnel forward everything within this thread */
req->tunnel->timeout = req->idle_timeout;
status = ap_proxy_tunnel_run(req->tunnel);
if (ap_is_HTTP_ERROR(status)) {
r->status = status;
}
/* Report bytes exchanged by the backend */
backend->worker->s->read +=