diff options
| author | Sterling Hughes <sterling@php.net> | 2001-08-02 19:28:33 +0000 |
|---|---|---|
| committer | Sterling Hughes <sterling@php.net> | 2001-08-02 19:28:33 +0000 |
| commit | 70a0951eb984a1010680cf8a06064fae0ca3abf8 (patch) | |
| tree | f35c76ff940905abd77b9ace923d5aef73a28cd1 /ext/curl/curl.c | |
| parent | b71efb2f9c9f25fee07220fde0d6a29d5a7f2acc (diff) | |
| download | php-git-70a0951eb984a1010680cf8a06064fae0ca3abf8.tar.gz | |
Larger transfer buffer before realloc() this should speed things up a bit
Diffstat (limited to 'ext/curl/curl.c')
| -rw-r--r-- | ext/curl/curl.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 <curl/curl.h> #include <curl/easy.h> +#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" |
