cvs: php4 /sapi/thttpd thttpd.c

From: Date: Mon, 12 May 2003 01:29:21 +0000
Subject: cvs: php4 /sapi/thttpd thttpd.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-20839@lists.php.net to get a copy of this message
sas Sun May 11 21:29:21 2003 EDT Modified files: /php4/sapi/thttpd thttpd.c Log: improve keep alive handling Index: php4/sapi/thttpd/thttpd.c diff -u php4/sapi/thttpd/thttpd.c:1.85 php4/sapi/thttpd/thttpd.c:1.86 --- php4/sapi/thttpd/thttpd.c:1.85 Sun May 11 21:02:08 2003 +++ php4/sapi/thttpd/thttpd.c Sun May 11 21:29:21 2003 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: thttpd.c,v 1.85 2003/05/12 01:02:08 sas Exp $ */ +/* $Id: thttpd.c,v 1.86 2003/05/12 01:29:21 sas Exp $ */ #include "php.h" #include "SAPI.h" @@ -208,6 +208,7 @@ if (TG(seen_cl) && !TG(seen_cn) && TG(hc)->do_keep_alive) { ADD_VEC(KA_DO, sizeof(KA_DO)-1); } else { + TG(hc)->do_keep_alive = 0; ADD_VEC(KA_NO, sizeof(KA_NO)-1); } @@ -656,6 +657,7 @@ TG(hc)->response = TG(sbuf).c; TG(hc)->responselen = TG(sbuf).len; + TG(hc)->maxresponse = TG(sbuf).a; TG(sbuf).c = 0; TG(sbuf).len = 0;

« previous php.cvs (#20839) next »