aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-04-25 00:16:10 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-05-01 22:55:29 +0200
commitf535f4f5fc6cbdce1aec5a3481cec37369dca468 (patch)
tree918a8b9043e6933a7ceacb4ac32b153b2f84c54c /lib/url.c
parent7c312f84ea930d89c0f0f774b50032c4f9ae30e4 (diff)
buffer_size: make sure it always has the correct size
Removes the need for CURL_BUFSIZE
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/url.c b/lib/url.c
index 04c03ac8d..965b5b57b 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -607,6 +607,7 @@ CURLcode Curl_init_userdefined(struct UserDefined *set)
set->expect_100_timeout = 1000L; /* Wait for a second by default. */
set->sep_headers = TRUE; /* separated header lists by default */
+ set->buffer_size = BUFSIZE;
Curl_http2_init_userset(set);
return result;