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

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