diff options
author | Graham.Dumpleton <devnull@localhost> | 2009-01-03 10:36:39 +0000 |
---|---|---|
committer | Graham.Dumpleton <devnull@localhost> | 2009-01-03 10:36:39 +0000 |
commit | c231da4648e43ed083f83ecb3a1af4a12396a96d (patch) | |
tree | 6db1ee07c3935e467ff26d4aa45e93f4ad3907ba | |
parent | 9e7539423bc5f0a9591cc044a4a2239a110950cb (diff) | |
download | mod_wsgi-c231da4648e43ed083f83ecb3a1af4a12396a96d.tar.gz |
Fix bug whereby POST requests where 100-continue was expected by client would
see request content actually truncated and not be available to WSGI
application if application running in daemon mode. See issue #121.
-rw-r--r-- | mod_wsgi.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -9417,6 +9417,14 @@ static int wsgi_execute_remote(request_rec *r) } } + /* + * Need to reset request status value to HTTP_OK else it + * screws up HTTP input filter when processing a POST + * request with 100-continue requirement. + */ + + r->status = HTTP_OK; + /* Transfer any request content which was provided. */ seen_eos = 0; |