diff options
author | Brad Spencer <bspencer@blackberry.com> | 2018-12-14 17:18:22 -0400 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-01-07 10:05:20 +0100 |
commit | 84a30d0a419ad95c53cbdfc76eb2eb75d2e51835 (patch) | |
tree | 5a7c04df819a465e7711f9c9b0c831f5532b0326 /tests/data/test1592 | |
parent | ebe658c1e5a6577178981a7f406794699305be5c (diff) |
curl_multi_remove_handle() don't block terminating c-ares requests
Added Curl_resolver_kill() for all three resolver modes, which only
blocks when necessary, along with test 1592 to confirm
curl_multi_remove_handle() doesn't block unless it must.
Closes #3428
Fixes #3371
Diffstat (limited to 'tests/data/test1592')
-rw-r--r-- | tests/data/test1592 | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/tests/data/test1592 b/tests/data/test1592 new file mode 100644 index 000000000..d1346e1e3 --- /dev/null +++ b/tests/data/test1592 @@ -0,0 +1,37 @@ +<testcase> +<info> +<keywords> +HTTP +multi +resolve +speedcheck +</keywords> +</info> + +# Client-side +<client> +<server> +none +</server> +<tool> +lib1592 +</tool> + <name> +HTTP request, remove handle while resolving, don't block + </name> + + <command> +http://a-site-never-accessed.example.org/1592 +</command> +</client> + +# Verify data after the test has been "shot" +<verify> +<valgrind> +disable +</valgrind> +<errorcode> +0 +</errorcode> +</verify> +</testcase> |