]> git.ipfire.org Git - thirdparty/curl.git/commit
lib: make `curlx_wait_ms()` and use it
authorViktor Szakats <commit@vsz.me>
Mon, 16 Jun 2025 13:20:17 +0000 (15:20 +0200)
committerViktor Szakats <commit@vsz.me>
Thu, 19 Jun 2025 13:57:37 +0000 (15:57 +0200)
commit35d0c047ce713298f15771649ffe7662404628f0
treefdc3f953e13bd65c8c00871a8fd2e18ff17ddae9
parent9fc05357ef91e9d5a3c6662a30a67c96cac0b2e5
lib: make `curlx_wait_ms()` and use it

Move function to curlx/, change all callers.

Also:
- src: replace local implementation.
- tests/client: replace local ad-hoc sleep code.
- tests/libtest: replace local `wait_ms()` implementation.
- lib1531: replace local ad-hoc sleep code.
- tests/server: replace local, simplified copy.
- tests/server: formatting, drop some unused headers.

Closes #17641
45 files changed:
lib/Makefile.inc
lib/curlx/curlx.h
lib/curlx/wait.c [new file with mode: 0644]
lib/curlx/wait.h [moved from src/tool_sleep.h with 86% similarity]
lib/easy.c
lib/multi.c
lib/select.c
lib/select.h
lib/vtls/openssl.c
packages/vms/gnv_link_curl.com
src/Makefile.inc
src/tool_cb_rea.c
src/tool_operate.c
src/tool_sleep.c [deleted file]
tests/client/Makefile.inc
tests/client/first.h
tests/client/ws_data.c
tests/client/ws_pingpong.c
tests/libtest/Makefile.inc
tests/libtest/first.c
tests/libtest/first.h
tests/libtest/lib1506.c
tests/libtest/lib1515.c
tests/libtest/lib1517.c
tests/libtest/lib1531.c
tests/libtest/lib1542.c
tests/libtest/lib1565.c
tests/libtest/lib2301.c
tests/libtest/lib2304.c
tests/libtest/lib2402.c
tests/libtest/lib2404.c
tests/libtest/lib2502.c
tests/libtest/lib670.c
tests/libtest/test.h
tests/server/Makefile.inc
tests/server/dnsd.c
tests/server/mqttd.c
tests/server/rtspd.c
tests/server/sockfilt.c
tests/server/socksd.c
tests/server/sws.c
tests/server/tftpd.c
tests/server/util.c
tests/unit/unit2600.c
winbuild/MakefileBuild.vc