diff options
author | Daniel Stenberg <daniel@haxx.se> | 2000-10-03 11:03:55 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2000-10-03 11:03:55 +0000 |
commit | eee5c71affa2b158b707d5c46eeef25edcce2a67 (patch) | |
tree | b5b92819aacd7c462161feaed2561ae38b172c56 /lib | |
parent | f1b8566ea28d1256cf533f5fe07a6662041a6c5d (diff) |
inits the upload_bufsize at connect time
Diffstat (limited to 'lib')
-rw-r--r-- | lib/url.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |