From a5c6ecba8dc71d48beba772c4dcceb92fa6b3b00 Mon Sep 17 00:00:00 2001 From: Marc Hoersken Date: Wed, 3 Oct 2012 18:15:41 +0200 Subject: lib/curl_schannel: Increased maximum buffer size to factor 128 --- lib/curl_schannel.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'lib/curl_schannel.h') diff --git a/lib/curl_schannel.h b/lib/curl_schannel.h index ed9257731..909ed1857 100644 --- a/lib/curl_schannel.h +++ b/lib/curl_schannel.h @@ -95,14 +95,13 @@ #ifdef BUFSIZE #define CURL_SCHANNEL_BUFFER_INIT_SIZE BUFSIZE -#define CURL_SCHANNEL_BUFFER_FREE_SIZE BUFSIZE/2 #else #define CURL_SCHANNEL_BUFFER_INIT_SIZE 4096 -#define CURL_SCHANNEL_BUFFER_FREE_SIZE 2048 #endif -#define CURL_SCHANNEL_BUFFER_MAX_SIZE CURL_SCHANNEL_BUFFER_INIT_SIZE*16 -#define CURL_SCHANNEL_BUFFER_STEP_FACTOR 2 +#define CURL_SCHANNEL_BUFFER_MIN_SIZE CURL_SCHANNEL_BUFFER_INIT_SIZE / 2 +#define CURL_SCHANNEL_BUFFER_MAX_SIZE CURL_SCHANNEL_BUFFER_INIT_SIZE * 128 +#define CURL_SCHANNEL_BUFFER_STEP_FACTOR 2 CURLcode Curl_schannel_connect(struct connectdata *conn, int sockindex); -- cgit v1.2.3