From 3721422d8c9e580c94ef574743be15639df2a6fa Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 24 Apr 2017 14:28:19 +0200 Subject: tests: update with the CURLOPT_BUFFERSIZE change --- tests/data/test1400 | 1 + tests/data/test1401 | 1 + tests/data/test1402 | 1 + tests/data/test1403 | 1 + tests/data/test1404 | 1 + tests/data/test1405 | 1 + tests/data/test1406 | 1 + tests/data/test1407 | 1 + tests/data/test1420 | 1 + 9 files changed, 9 insertions(+) diff --git a/tests/data/test1400 b/tests/data/test1400 index e82084324..0cef18dfd 100644 --- a/tests/data/test1400 +++ b/tests/data/test1400 @@ -68,6 +68,7 @@ int main(int argc, char *argv[]) CURL *hnd; hnd = curl_easy_init(); + curl_easy_setopt(hnd, CURLOPT_BUFFERSIZE, 102400L); curl_easy_setopt(hnd, CURLOPT_URL, "http://%HOSTIP:%HTTPPORT/we/want/1400"); curl_easy_setopt(hnd, CURLOPT_HEADER, 1L); curl_easy_setopt(hnd, CURLOPT_USERAGENT, "stripped"); diff --git a/tests/data/test1401 b/tests/data/test1401 index 34469a376..d6c904088 100644 --- a/tests/data/test1401 +++ b/tests/data/test1401 @@ -80,6 +80,7 @@ int main(int argc, char *argv[]) slist1 = curl_slist_append(slist1, "X-Men: cyclops, iceman"); hnd = curl_easy_init(); + curl_easy_setopt(hnd, CURLOPT_BUFFERSIZE, 102400L); curl_easy_setopt(hnd, CURLOPT_URL, "http://%HOSTIP:%HTTPPORT/we/want/1401"); curl_easy_setopt(hnd, CURLOPT_HEADER, 1L); curl_easy_setopt(hnd, CURLOPT_USERPWD, "fake:user"); diff --git a/tests/data/test1402 b/tests/data/test1402 index bf22695e6..c3581287a 100644 --- a/tests/data/test1402 +++ b/tests/data/test1402 @@ -73,6 +73,7 @@ int main(int argc, char *argv[]) CURL *hnd; hnd = curl_easy_init(); + curl_easy_setopt(hnd, CURLOPT_BUFFERSIZE, 102400L); curl_easy_setopt(hnd, CURLOPT_URL, "http://%HOSTIP:%HTTPPORT/we/want/1402"); curl_easy_setopt(hnd, CURLOPT_HEADER, 1L); curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "foo=bar&baz=quux"); diff --git a/tests/data/test1403 b/tests/data/test1403 index 1a0fc7d8f..3a5b1b236 100644 --- a/tests/data/test1403 +++ b/tests/data/test1403 @@ -70,6 +70,7 @@ int main(int argc, char *argv[]) CURL *hnd; hnd = curl_easy_init(); + curl_easy_setopt(hnd, CURLOPT_BUFFERSIZE, 102400L); curl_easy_setopt(hnd, CURLOPT_URL, "http://%HOSTIP:%HTTPPORT/we/want/1403?foo=bar&baz=quux"); curl_easy_setopt(hnd, CURLOPT_HEADER, 1L); curl_easy_setopt(hnd, CURLOPT_USERAGENT, "stripped"); diff --git a/tests/data/test1404 b/tests/data/test1404 index c0bb81b58..c86d2602c 100644 --- a/tests/data/test1404 +++ b/tests/data/test1404 @@ -123,6 +123,7 @@ int main(int argc, char *argv[]) CURLFORM_END); hnd = curl_easy_init(); + curl_easy_setopt(hnd, CURLOPT_BUFFERSIZE, 102400L); curl_easy_setopt(hnd, CURLOPT_URL, "http://%HOSTIP:%HTTPPORT/we/want/1404"); curl_easy_setopt(hnd, CURLOPT_HEADER, 1L); curl_easy_setopt(hnd, CURLOPT_HTTPPOST, post1); diff --git a/tests/data/test1405 b/tests/data/test1405 index 041d9f3bd..f3ad3e795 100644 --- a/tests/data/test1405 +++ b/tests/data/test1405 @@ -83,6 +83,7 @@ int main(int argc, char *argv[]) slist3 = curl_slist_append(slist3, "*FAIL HARD"); hnd = curl_easy_init(); + curl_easy_setopt(hnd, CURLOPT_BUFFERSIZE, 102400L); curl_easy_setopt(hnd, CURLOPT_URL, "ftp://%HOSTIP:%FTPPORT/1405"); curl_easy_setopt(hnd, CURLOPT_HEADER, 1L); curl_easy_setopt(hnd, CURLOPT_QUOTE, slist1); diff --git a/tests/data/test1406 b/tests/data/test1406 index 6276b9e97..033957f60 100644 --- a/tests/data/test1406 +++ b/tests/data/test1406 @@ -75,6 +75,7 @@ int main(int argc, char *argv[]) slist1 = curl_slist_append(slist1, "recipient.two@example.com"); hnd = curl_easy_init(); + curl_easy_setopt(hnd, CURLOPT_BUFFERSIZE, 102400L); curl_easy_setopt(hnd, CURLOPT_INFILESIZE_LARGE, (curl_off_t)38); curl_easy_setopt(hnd, CURLOPT_URL, "smtp://%HOSTIP:%SMTPPORT/1406"); curl_easy_setopt(hnd, CURLOPT_HEADER, 1L); diff --git a/tests/data/test1407 b/tests/data/test1407 index 6b44cb79a..5a3de1b17 100644 --- a/tests/data/test1407 +++ b/tests/data/test1407 @@ -57,6 +57,7 @@ int main(int argc, char *argv[]) CURL *hnd; hnd = curl_easy_init(); + curl_easy_setopt(hnd, CURLOPT_BUFFERSIZE, 102400L); curl_easy_setopt(hnd, CURLOPT_URL, "pop3://%HOSTIP:%POP3PORT/1407"); curl_easy_setopt(hnd, CURLOPT_HEADER, 1L); curl_easy_setopt(hnd, CURLOPT_DIRLISTONLY, 1L); diff --git a/tests/data/test1420 b/tests/data/test1420 index 6183fd659..38139e0b0 100644 --- a/tests/data/test1420 +++ b/tests/data/test1420 @@ -63,6 +63,7 @@ int main(int argc, char *argv[]) CURL *hnd; hnd = curl_easy_init(); + curl_easy_setopt(hnd, CURLOPT_BUFFERSIZE, 102400L); curl_easy_setopt(hnd, CURLOPT_URL, "imap://%HOSTIP:%IMAPPORT/1420/;UID=1"); curl_easy_setopt(hnd, CURLOPT_HEADER, 1L); curl_easy_setopt(hnd, CURLOPT_USERPWD, "user:secret"); -- cgit v1.2.1