inits the upload_bufsize at connect time

This commit is contained in:
Daniel Stenberg 2000-10-03 11:03:55 +00:00
parent f1b8566ea2
commit eee5c71aff

View File

@ -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