Fix lighttpd mod_proxy waiting for response even if content-length is 0.
From upstream via Brad.
This commit is contained in:
parent
4662963709
commit
d425867587
@ -1,10 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.71 2010/08/23 22:44:10 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.72 2010/09/17 21:59:43 sthen Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
COMMENT= secure, fast, compliant, and very flexible web-server
|
||||
|
||||
DISTNAME= lighttpd-1.4.28
|
||||
REVISION= 0
|
||||
CATEGORIES= www net
|
||||
MASTER_SITES= http://download.lighttpd.net/lighttpd/releases-1.4.x/
|
||||
|
||||
|
14
www/lighttpd/patches/patch-src_mod_proxy_c
Normal file
14
www/lighttpd/patches/patch-src_mod_proxy_c
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-src_mod_proxy_c,v 1.5 2010/09/17 21:59:43 sthen Exp $
|
||||
--- src/mod_proxy.c.orig Fri Sep 17 17:50:54 2010
|
||||
+++ src/mod_proxy.c Fri Sep 17 17:52:17 2010
|
||||
@@ -724,9 +724,9 @@ static int proxy_demux_response(server *srv, handler_c
|
||||
con->file_started = 1;
|
||||
if (blen) {
|
||||
http_chunk_append_mem(srv, con, c + 4, blen + 1);
|
||||
- joblist_append(srv, con);
|
||||
}
|
||||
hctx->response->used = 0;
|
||||
+ joblist_append(srv, con);
|
||||
}
|
||||
} else {
|
||||
http_chunk_append_mem(srv, con, hctx->response->ptr, hctx->response->used);
|
Loading…
Reference in New Issue
Block a user