From: Rasmus Lerdorf Date: Thu, 21 Mar 2002 21:53:26 +0000 (+0000) Subject: Fix for bug #15667 X-Git-Tag: php-4.2.0RC2~58 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5b2f73c7ac73ff0b2fd65bbff5f4cd77d5be1de4;p=php Fix for bug #15667 --- diff --git a/ext/standard/http_fopen_wrapper.c b/ext/standard/http_fopen_wrapper.c index 24e546bb60..a7877389e4 100644 --- a/ext/standard/http_fopen_wrapper.c +++ b/ext/standard/http_fopen_wrapper.c @@ -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 *php_fopen_url_wrap_http(const char *path, char *mode, int options, int *is { 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;