mirror of
https://github.com/curl/curl.git
synced 2026-08-25 04:53:31 +03:00
lib3208: add a final easy_perform as well
Make the test also verify using the handle in the other order. Closes #16262
This commit is contained in:
parent
242a1439e7
commit
5963f83176
2 changed files with 20 additions and 10 deletions
|
|
@ -48,6 +48,7 @@ CURLcode test(char *URL)
|
|||
|
||||
easy_setopt(curl, CURLOPT_URL, URL);
|
||||
easy_setopt(curl, CURLOPT_HEADER, 1L);
|
||||
easy_setopt(curl, CURLOPT_VERBOSE, 1L);
|
||||
/* no peer verify */
|
||||
easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L);
|
||||
easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L);
|
||||
|
|
@ -85,6 +86,11 @@ CURLcode test(char *URL)
|
|||
get it */
|
||||
i = msg->data.result;
|
||||
|
||||
curl_multi_remove_handle(multi, curl);
|
||||
|
||||
/* make a third transfer with the easy handle */
|
||||
curl_easy_perform(curl);
|
||||
|
||||
test_cleanup:
|
||||
|
||||
/* undocumented cleanup sequence - type UA */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue