]> Raphaƫl G. Git Repositories - ihttpd/blob - SOURCES/httpd-2.4.4-malformed-host.patch
Add dependencies to avoid race conditions and be sure we start in time
[ihttpd] / SOURCES / httpd-2.4.4-malformed-host.patch
1 diff --git a/server/protocol.c b/server/protocol.c
2 index e1ef204..d6d9165 100644
3 --- a/server/protocol.c
4 +++ b/server/protocol.c
5 @@ -1049,6 +1049,7 @@ request_rec *ap_read_request(conn_rec *conn)
6 * now read. may update status.
7 */
8 ap_update_vhost_from_headers(r);
9 + access_status = r->status;
10
11 /* Toggle to the Host:-based vhost's timeout mode to fetch the
12 * request body and send the response body, if needed.