diff options
author | stbuehler <stbuehler@152afb58-edef-0310-8abb-c4023f1b3aa9> | 2009-10-25 17:45:56 +0000 |
---|---|---|
committer | stbuehler <stbuehler@152afb58-edef-0310-8abb-c4023f1b3aa9> | 2009-10-25 17:45:56 +0000 |
commit | 24329894797d30e80deadb88e442155f31727584 (patch) | |
tree | d1e45d0f8791832b18eaff51a63fc7b2bc041442 | |
parent | 540684ac608e32459bacd9445962e4351b318234 (diff) | |
download | lighttpd-24329894797d30e80deadb88e442155f31727584.tar.gz |
Mark recv-queue closed if backend connection got closed in mod_proxy_core (fixes #2090, thx liming)
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@2677 152afb58-edef-0310-8abb-c4023f1b3aa9
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | src/mod_proxy_core.c | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -151,6 +151,7 @@ NEWS * Remove joblist thread, don't use timed pops for async queues * Fix mod_cgi hang on "crash-before-header-sent" bug * Set content-length in mod_compress (fixes #2089, thx liming) + * Mark recv-queue closed if backend connection got closed in mod_proxy_core (fixes #2090, thx liming) - 1.5.0-r19.. - * -F option added for spawn-fcgi diff --git a/src/mod_proxy_core.c b/src/mod_proxy_core.c index 1ca74b4a..31f884a7 100644 --- a/src/mod_proxy_core.c +++ b/src/mod_proxy_core.c @@ -1077,6 +1077,7 @@ static handler_t proxy_handle_fdevent(void *s, void *ctx, int revents) { } if (sess->is_closed) { + sess->recv->is_closed = 1; fdevent_event_del(srv->ev, sess->proxy_con->sock); } |