cvs: php4(PHP_4_3) /sapi/thttpd thttpd.c
| From: | Sascha Schumann | Date: | Mon, 12 May 2003 01:29:41 +0000 |
| Subject: | cvs: php4(PHP_4_3) /sapi/thttpd thttpd.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-20841@lists.php.net to get a copy of this message | ||
sas Sun May 11 21:29:41 2003 EDT
Modified files: (Branch: PHP_4_3)
/php4/sapi/thttpd thttpd.c
Log:
MFH
Index: php4/sapi/thttpd/thttpd.c
diff -u php4/sapi/thttpd/thttpd.c:1.77.2.7 php4/sapi/thttpd/thttpd.c:1.77.2.8
--- php4/sapi/thttpd/thttpd.c:1.77.2.7 Sun May 11 21:03:47 2003
+++ php4/sapi/thttpd/thttpd.c Sun May 11 21:29:41 2003
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: thttpd.c,v 1.77.2.7 2003/05/12 01:03:47 sas Exp $ */
+/* $Id: thttpd.c,v 1.77.2.8 2003/05/12 01:29:41 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;