{"author":"Viktor Szakats","author_email":"commit@vsz.me","author_time":1741468507,"commit_time":1741518270,"committer":"Viktor Szakats","committer_email":"commit@vsz.me","hash":"5681628e2d748af981e077cb3c456a254c4957e2","message":"tests/server: sync `wait_ms()` with the libcurl implementation\n\nIt contains a series of bugfixes and updates applied to libcurl's\n`Curl_wait_ms()` over the years, but missed from the copy in\n`tests/server/util.c`:\n- d65321f93916e60f65b89d9bcb502341ea5c5939,\n  52e822173aa3cd4f610531d32fbf943f026cdca6,\n  5912da253b64de3cb2a1a229558077219b2c8a35\n- 4a8f459837e2b7dc146825fc9a864045f7d1ae4a\n- 1ad49feb71418f26aa6114c7a20ce1463beb3ea9\n\nIt fixes `wait_ms()` to check for, and return `SOCKERRNO`. Fixing error\nhandling on Windows.\n\nAlso:\n- tests/server: change callers to check `SOCKERRNO`.\n- `wait_ms()`: fix to check for the correct error code on Windows.\n  Pending for `Curl_wait_ms()`: #16621.\n- `Curl_wait_ms()`: tidy-up `Sleep()` argument cast (nit).\n- lib/curl_trc: drop an unused header.\n\nCloses #16627\n","parents":["454762d5ca1f5bba2401cc1cd4e03e50ef96c34e"],"tree_hash":"15ba5a239672ac3fe583ef5e181aa3e68f067f1c"}