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:
Daniel Stenberg 2025-02-08 12:49:15 +01:00
parent 242a1439e7
commit 5963f83176
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 20 additions and 10 deletions

View file

@ -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 */