aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-10-03 11:03:55 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-10-03 11:03:55 +0000
commiteee5c71affa2b158b707d5c46eeef25edcce2a67 (patch)
treeb5b92819aacd7c462161feaed2561ae38b172c56 /lib
parentf1b8566ea28d1256cf533f5fe07a6662041a6c5d (diff)
inits the upload_bufsize at connect time
Diffstat (limited to 'lib')
-rw-r--r--lib/url.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/url.c b/lib/url.c
index 4ddafc182..a0c90e7b3 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -692,6 +692,9 @@ CURLcode curl_connect(CURL *curl, CURLconnect **in_connect)
conn->data = data; /* remember our daddy */
conn->state = CONN_INIT;
+ conn->upload_bufsize = UPLOAD_BUFSIZE; /* the smallest upload buffer size
+ we use */
+
buf = data->buffer; /* this is our buffer */
#if 0