cvs: php4 /ext/curl curl.c
| From: | Sterling Hughes | Date: | Thu, 02 Aug 2001 19:28:34 +0000 |
| Subject: | cvs: php4 /ext/curl curl.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-6484@lists.php.net to get a copy of this message | ||
sterling Thu Aug 2 15:28:34 2001 EDT
Modified files:
/php4/ext/curl curl.c
Log:
Larger transfer buffer before realloc() this should speed things up a bit
Index: php4/ext/curl/curl.c
diff -u php4/ext/curl/curl.c:1.76 php4/ext/curl/curl.c:1.77
--- php4/ext/curl/curl.c:1.76 Thu Aug 2 15:25:46 2001
+++ php4/ext/curl/curl.c Thu Aug 2 15:28:33 2001
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: curl.c,v 1.76 2001/08/02 19:25:46 sterling Exp $ */
+/* $Id: curl.c,v 1.77 2001/08/02 19:28:33 sterling Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -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"