mirror of
https://github.com/curl/curl.git
synced 2026-08-24 13:03:35 +03:00
inits the upload_bufsize at connect time
This commit is contained in:
parent
f1b8566ea2
commit
eee5c71aff
1 changed files with 3 additions and 0 deletions
|
|
@ -692,6 +692,9 @@ CURLcode curl_connect(CURL *curl, CURLconnect **in_connect)
|
||||||
conn->data = data; /* remember our daddy */
|
conn->data = data; /* remember our daddy */
|
||||||
conn->state = CONN_INIT;
|
conn->state = CONN_INIT;
|
||||||
|
|
||||||
|
conn->upload_bufsize = UPLOAD_BUFSIZE; /* the smallest upload buffer size
|
||||||
|
we use */
|
||||||
|
|
||||||
buf = data->buffer; /* this is our buffer */
|
buf = data->buffer; /* this is our buffer */
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue