Commit eee5c71a authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

inits the upload_bufsize at connect time

parent f1b8566e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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