aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/curl_schannel.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/curl_schannel.h b/lib/curl_schannel.h
index 2869b9263..7cdd2d142 100644
--- a/lib/curl_schannel.h
+++ b/lib/curl_schannel.h
@@ -93,8 +93,13 @@
#endif
+#ifdef BUFSIZE
+#define CURL_SCHANNEL_BUFFER_INIT_SIZE BUFSIZE
+#define CURL_SCHANNEL_BUFFER_STEP_SIZE BUFSIZE/2
+#else
#define CURL_SCHANNEL_BUFFER_INIT_SIZE 4096
#define CURL_SCHANNEL_BUFFER_STEP_SIZE 2048
+#endif
CURLcode Curl_schannel_connect(struct connectdata *conn, int sockindex);