summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstbuehler <stbuehler@152afb58-edef-0310-8abb-c4023f1b3aa9>2009-10-25 17:32:19 +0000
committerstbuehler <stbuehler@152afb58-edef-0310-8abb-c4023f1b3aa9>2009-10-25 17:32:19 +0000
commit56e523b46ec3f38c247222544c34fa2db0bdd48c (patch)
tree57c1ddb04ce6644b793e4bcf7f76f50a87fdad06
parentaca4345505d929b4d06d87c56b989e2d8fbe1f5c (diff)
downloadlighttpd-56e523b46ec3f38c247222544c34fa2db0bdd48c.tar.gz
Reopen out stream in X-Rewrite (fixes #1678)
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@2672 152afb58-edef-0310-8abb-c4023f1b3aa9
-rw-r--r--NEWS1
-rw-r--r--src/mod_proxy_core.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index e1e05fa5..e71c4029 100644
--- a/NEWS
+++ b/NEWS
@@ -147,6 +147,7 @@ NEWS
* Add SSL Client Certificate verification (#1288)
* mod_accesslog: escape special characters (fixes #1551, thx icy)
* Don't print ssl error if client didn't support TLS SNI
+ * Reopen out stream in X-Rewrite (fixes #1678)
- 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 f71ba2c0..1ca74b4a 100644
--- a/src/mod_proxy_core.c
+++ b/src/mod_proxy_core.c
@@ -1749,6 +1749,7 @@ static handler_t proxy_state_engine(server *srv, connection *con, plugin_data *p
*
* mod_staticfile should handle this file for us
* con->mode = DIRECT is taking us out of the loop */
+ con->send->is_closed = 0;
con->mode = DIRECT;
con->http_status = 0;