Skip to content

Commit 59166f7

Browse files
committed
Just in case we do a 4.1.3, MFH the fix for php#15667
1 parent 0743d63 commit 59166f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/standard/http_fopen_wrapper.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,15 @@
6666

6767
#include "php_fopen_wrappers.h"
6868

69-
#define HTTP_HEADER_BLOCK_SIZE 128
69+
#define HTTP_HEADER_BLOCK_SIZE 256
7070

7171
/* {{{ php_fopen_url_wrap_http
7272
*/
7373
FILE *php_fopen_url_wrap_http(const char *path, char *mode, int options, int *issock, int *socketd, char **opened_path TSRMLS_DC)
7474
{
7575
FILE *fp=NULL;
7676
php_url *resource=NULL;
77-
char tmp_line[128];
77+
char tmp_line[256];
7878
char location[512];
7979
char hdr_line[8192];
8080
int body = 0;

0 commit comments

Comments
 (0)