From: Daniel Stenberg Date: Tue, 3 Oct 2000 11:03:55 +0000 (+0000) Subject: inits the upload_bufsize at connect time X-Git-Tag: curl-7_4_1~39 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eee5c71affa2b158b707d5c46eeef25edcce2a67;p=thirdparty%2Fcurl.git inits the upload_bufsize at connect time --- diff --git a/lib/url.c b/lib/url.c index 4ddafc1822..a0c90e7b34 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