07bc1b
diff --git a/src/server/mod_wsgi.c b/src/server/mod_wsgi.c
07bc1b
index 59aad90..ef5f5af 100644
07bc1b
--- a/src/server/mod_wsgi.c
07bc1b
+++ b/src/server/mod_wsgi.c
07bc1b
@@ -12586,6 +12586,9 @@ static apr_status_t wsgi_header_filter(ap_filter_t *f, apr_bucket_brigade *b)
07bc1b
 
07bc1b
     /* Output status line. */
07bc1b
 
07bc1b
+    if (!r->status_line)
07bc1b
+        r->status_line = ap_get_status_line(r->status);
07bc1b
+
07bc1b
     vec1[0].iov_base = (void *)"Status:";
07bc1b
     vec1[0].iov_len  = strlen("Status:");
07bc1b
     vec1[1].iov_base = (void *)" ";
07bc1b
@@ -12699,6 +12702,7 @@ static int wsgi_hook_daemon_handler(conn_rec *c)
07bc1b
     apr_bucket_brigade *bb;
07bc1b
 
07bc1b
     core_request_config *req_cfg;
07bc1b
+    core_dir_config *d;
07bc1b
 
07bc1b
     ap_filter_t *current = NULL;
07bc1b
     ap_filter_t *next = NULL;
07bc1b
@@ -12890,6 +12894,23 @@ static int wsgi_hook_daemon_handler(conn_rec *c)
07bc1b
 
07bc1b
     r->per_dir_config  = r->server->lookup_defaults;
07bc1b
 
07bc1b
+    /*
07bc1b
+     * Try and ensure that request body limit in daemon mode process
07bc1b
+     * is unlimited as Apache 2.4.54 changed rules for limit and if
07bc1b
+     * unset is now overridden by HTTP filters to be 1GiB rather than
07bc1b
+     * unlimited. This is required since we populate configuration
07bc1b
+     * from the base server config only so setting unlimited in a more
07bc1b
+     * specific context such as a virtual host wouldn't be visible.
07bc1b
+     * Note that setting this to unlimited in the daemon mode process
07bc1b
+     * is okay as the request limit body is checked in the Apache
07bc1b
+     * child process before request is proxied specifically to avoid
07bc1b
+     * unecessarily passing the content across to the daemon process.
07bc1b
+     */
07bc1b
+
07bc1b
+    d = (core_dir_config *)ap_get_core_module_config(r->per_dir_config);
07bc1b
+
07bc1b
+    d->limit_req_body = 0;
07bc1b
+
07bc1b
     r->sent_bodyct = 0;
07bc1b
 
07bc1b
     r->read_length = 0;