mirror of
https://github.com/curl/curl.git
synced 2025-04-12 16:20:35 +08:00
inits the upload_bufsize at connect time
This commit is contained in:
parent
f1b8566ea2
commit
eee5c71aff
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user