lib: add curl_multi_waitfds

New function call, similar to curl_multi_fdset()

Closes #13135
This commit is contained in:
Dmitry Karpov 2024-03-14 21:41:44 -07:00 committed by Daniel Stenberg
parent e469ac4494
commit 02beac6bb6
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
12 changed files with 553 additions and 2 deletions

51
tests/data/test2405 Normal file
View file

@ -0,0 +1,51 @@
<testcase>
<info>
<keywords>
multi
HTTP
HTTP/2
</keywords>
</info>
# Server-side
<reply>
<data nocheck="yes">
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
ETag: "21025-dc7-39462498"
Accept-Ranges: bytes
Content-Length: 6007
Connection: close
Content-Type: text/html
Funny-head: yesyes
-foo-
%repeat[1000 x foobar]%
</data>
</reply>
# Client-side
<client>
<server>
http
http/2
</server>
<tool>
lib%TESTNUMBER
</tool>
<name>
checking curl_multi_waitfds functionality
</name>
<command>
http://%HOSTIP:%HTTP2PORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
</protocol>
</verify>
</testcase>