From: Sterling Hughes Date: Thu, 2 Aug 2001 19:28:33 +0000 (+0000) Subject: Larger transfer buffer before realloc() this should speed things up a bit X-Git-Tag: PRE_ENGINE2_SPLIT~120 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=70a0951eb984a1010680cf8a06064fae0ca3abf8;p=php Larger transfer buffer before realloc() this should speed things up a bit --- diff --git a/ext/curl/curl.c b/ext/curl/curl.c index b93895b278..717f970960 100644 --- a/ext/curl/curl.c +++ b/ext/curl/curl.c @@ -37,6 +37,9 @@ #include #include +#define SMART_STR_PREALLOC 4096 + +#include "ext/standard/php_smart_str.h" #include "ext/standard/info.h" #include "ext/standard/file.h" #include "php_curl.h"