diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-08-18 16:17:05 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-09-06 10:53:39 +0200 |
commit | 2825f46d950ca9b0e269ed8dc6a97c5238a17c30 (patch) | |
tree | 1869f93855474b2fe4469351b0dd5ef890bb1fb1 /lib/url.c | |
parent | 87fefe5ebfa152386396b8e232c7b5b0609f6f35 (diff) | |
download | curl-2825f46d950ca9b0e269ed8dc6a97c5238a17c30.tar.gz |
CURLOPT_UPLOAD_BUFFERSIZE: set upload buffer size
This is step 3 of #2888.
Fixes #2888
Closes #2896
Diffstat (limited to 'lib/url.c')
-rw-r--r-- | lib/url.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -526,7 +526,7 @@ CURLcode Curl_init_userdefined(struct Curl_easy *data) set->expect_100_timeout = 1000L; /* Wait for a second by default. */ set->sep_headers = TRUE; /* separated header lists by default */ set->buffer_size = READBUFFER_SIZE; - set->upload_buffer_size = UPLOAD_BUFSIZE; + set->upload_buffer_size = UPLOADBUFFER_DEFAULT; set->happy_eyeballs_timeout = CURL_HET_DEFAULT; set->fnmatch = ZERO_NULL; set->maxconnects = DEFAULT_CONNCACHE_SIZE; /* for easy handles */ |