]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
inits the upload_bufsize at connect time
authorDaniel Stenberg <daniel@haxx.se>
Tue, 3 Oct 2000 11:03:55 +0000 (11:03 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 3 Oct 2000 11:03:55 +0000 (11:03 +0000)
lib/url.c

index 4ddafc18229685d2610aa0eac8c6a353958f48cd..a0c90e7b34a50e41425797ba504260aa57bce3ca 100644 (file)
--- 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