From 5b2f73c7ac73ff0b2fd65bbff5f4cd77d5be1de4 Mon Sep 17 00:00:00 2001 From: Rasmus Lerdorf Date: Thu, 21 Mar 2002 21:53:26 +0000 Subject: [PATCH] Fix for bug #15667 --- ext/standard/http_fopen_wrapper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.50.1