From f3c35e371cc70f1b6bc33f7faa904d37d1567eb3 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Sun, 17 Nov 2019 15:12:15 +0100 Subject: multi: add curl_multi_wakeup() This commit adds curl_multi_wakeup() which was previously in the TODO list under the curl_multi_unblock name. On some platforms and with some configurations this feature might not be available or can fail, in these cases a new error code (CURLM_WAKEUP_FAILURE) is returned from curl_multi_wakeup(). Fixes #4418 Closes #4608 --- tests/data/test1565 | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 tests/data/test1565 (limited to 'tests/data/test1565') diff --git a/tests/data/test1565 b/tests/data/test1565 new file mode 100644 index 000000000..f554e0f34 --- /dev/null +++ b/tests/data/test1565 @@ -0,0 +1,41 @@ + + + +HTTP +HTTP GET +multi +multi-threaded +wakeup + + + +# Server-side + + +HTTP/1.1 200 OK +Content-Length: 3 + +OK + + + +# Client-side + + +http + + +lib1565 + + +wakeup from another thread + + +http://%HOSTIP:%HTTPPORT/1 + + + +# Verify data after the test has been "shot" + + + -- cgit v1.2.3