arrfab / rpms / httpd

Forked from rpms/httpd 5 years ago
Clone

Blame SOURCES/httpd-2.4.4-malformed-host.patch

28b219
diff --git a/server/protocol.c b/server/protocol.c
28b219
index e1ef204..d6d9165 100644
28b219
--- a/server/protocol.c
28b219
+++ b/server/protocol.c
28b219
@@ -1049,6 +1049,7 @@ request_rec *ap_read_request(conn_rec *conn)
28b219
      * now read. may update status.
28b219
      */
28b219
     ap_update_vhost_from_headers(r);
28b219
+    access_status = r->status;
28b219
 
28b219
     /* Toggle to the Host:-based vhost's timeout mode to fetch the
28b219
      * request body and send the response body, if needed.