cvs: php4 /sapi/servlet servlet.c
| From: | Sam Ruby | Date: | Thu, 10 Aug 2000 06:09:04 +0000 |
| Subject: | cvs: php4 /sapi/servlet servlet.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-1123@lists.php.net to get a copy of this message | ||
rubys Wed Aug 9 23:09:04 2000 EDT
Modified files:
/php4/sapi/servlet servlet.c
Log:
Correct bug in headers only logic.
Index: php4/sapi/servlet/servlet.c
diff -u php4/sapi/servlet/servlet.c:1.35 php4/sapi/servlet/servlet.c:1.36
--- php4/sapi/servlet/servlet.c:1.35 Wed Aug 2 15:48:45 2000
+++ php4/sapi/servlet/servlet.c Wed Aug 9 23:09:04 2000
@@ -360,7 +360,7 @@
if (!strcmp(SG(request_info).request_method, "HEAD")) {
SG(request_info).headers_only = 1;
} else {
- SG(request_info).headers_only = 1;
+ SG(request_info).headers_only = 0;
}
SG(request_info).content_length = contentLength;
SG(request_info).auth_password = NULL;