cvs: php4(PHP_4_0_7) /ext/standard http_fopen_wrapper.c
| From: | Rasmus Lerdorf | Date: | Thu, 21 Mar 2002 21:58:11 +0000 |
| Subject: | cvs: php4(PHP_4_0_7) /ext/standard http_fopen_wrapper.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-10559@lists.php.net to get a copy of this message | ||
rasmus Thu Mar 21 16:58:11 2002 EDT
Modified files: (Branch: PHP_4_0_7)
/php4/ext/standard http_fopen_wrapper.c
Log:
Just in case we do a 4.1.3, MFH the fix for #15667
Index: php4/ext/standard/http_fopen_wrapper.c
diff -u php4/ext/standard/http_fopen_wrapper.c:1.16.2.3
php4/ext/standard/http_fopen_wrapper.c:1.16.2.4
--- php4/ext/standard/http_fopen_wrapper.c:1.16.2.3 Fri Oct 19 14:09:21 2001
+++ php4/ext/standard/http_fopen_wrapper.c Thu Mar 21 16:58:11 2002
@@ -17,7 +17,7 @@
| Hartmut Holzgraefe <hholzgra@php.net> |
+----------------------------------------------------------------------+
*/
-/* $Id: http_fopen_wrapper.c,v 1.16.2.3 2001/10/19 18:09:21 edink Exp $ */
+/* $Id: http_fopen_wrapper.c,v 1.16.2.4 2002/03/21 21:58:11 rasmus Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -66,7 +66,7 @@
#include "php_fopen_wrappers.h"
-#define HTTP_HEADER_BLOCK_SIZE 128
+#define HTTP_HEADER_BLOCK_SIZE 256
/* {{{ php_fopen_url_wrap_http
*/
@@ -74,7 +74,7 @@
{
FILE *fp=NULL;
php_url *resource=NULL;
- char tmp_line[128];
+ char tmp_line[256];
char location[512];
char hdr_line[8192];
int body = 0;