]> granicus.if.org Git - php/commitdiff
Fix for bug #15667
authorRasmus Lerdorf <rasmus@php.net>
Thu, 21 Mar 2002 21:53:26 +0000 (21:53 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Thu, 21 Mar 2002 21:53:26 +0000 (21:53 +0000)
ext/standard/http_fopen_wrapper.c

index 24e546bb60f7870670b7889889855a809b51c5af..a7877389e46f059aa8485ca13114ddac5201cdba 100644 (file)
@@ -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;