]> git.ipfire.org Git - thirdparty/curl.git/commit
docs/examples: use curl_multi_poll() in multi examples
authorDaniel Stenberg <daniel@haxx.se>
Tue, 6 Jul 2021 08:51:46 +0000 (10:51 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 7 Jul 2021 06:15:09 +0000 (08:15 +0200)
commitae8e11ed5fd2ceefc17f007d90f221f67f0c2e26
tree4a24c62fb66f86d9469d082bdbd4978b12720b44
parent738fb63e612ae9f5b19242479ea94eda4a813f24
docs/examples: use curl_multi_poll() in multi examples

The API is soon two years old and deserves being shown as the primary
way to drive multi code as it makes it much easier to write code.

multi-poll: removed

multi-legacy: add to show how we did multi API use before
curl_multi_wait/poll.

Closes #7352
15 files changed:
docs/examples/Makefile.inc
docs/examples/http2-download.c
docs/examples/http2-serverpush.c
docs/examples/http2-upload.c
docs/examples/imap-multi.c
docs/examples/multi-app.c
docs/examples/multi-debugcallback.c
docs/examples/multi-double.c
docs/examples/multi-formadd.c
docs/examples/multi-legacy.c [new file with mode: 0644]
docs/examples/multi-poll.c [deleted file]
docs/examples/multi-post.c
docs/examples/multi-single.c
docs/examples/pop3-multi.c
docs/examples/smtp-multi.c