From eee5c71affa2b158b707d5c46eeef25edcce2a67 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 3 Oct 2000 11:03:55 +0000 Subject: inits the upload_bufsize at connect time --- lib/url.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib') diff --git a/lib/url.c b/lib/url.c index 4ddafc182..a0c90e7b3 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 -- cgit v1.2.3