summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian D. Caruso <bdc34@cornell.edu>2022-09-14 18:19:13 -0400
committerBrian D. Caruso <bdc34@cornell.edu>2022-09-14 18:19:13 -0400
commit0963d045d7239138ac26bcd62d71338ae9a2dc9b (patch)
treee3f106b6260cd4410fccc8a0934e5bd1d12ce227
parent7fba9934e8631cdc08d48bbc2983598b4586db80 (diff)
downloadmod_wsgi-0963d045d7239138ac26bcd62d71338ae9a2dc9b.tar.gz
Fix ability to build with Apapche 2.2.
-rw-r--r--src/server/mod_wsgi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/mod_wsgi.c b/src/server/mod_wsgi.c
index 3f5d855..121b8fb 100644
--- a/src/server/mod_wsgi.c
+++ b/src/server/mod_wsgi.c
@@ -12917,11 +12917,11 @@ static int wsgi_hook_daemon_handler(conn_rec *c)
* child process before request is proxied specifically to avoid
* unecessarily passing the content across to the daemon process.
*/
-
+#if AP_MODULE_MAGIC_AT_LEAST(20110605,1)
d = (core_dir_config *)ap_get_core_module_config(r->per_dir_config);
d->limit_req_body = 0;
-
+#endif
r->sent_bodyct = 0;
r->read_length = 0;