Change #270931
| Category | curl |
| Changed by | Viktor Szakats <commit@vsz.me> |
| Changed at | Sun 14 Jun 2026 16:16:25 |
| Repository | https://github.com/curl/curl.git |
| Project | curl |
| Branch | master |
| Revision | 9002d3350cc2086f95c8e850dee3e3ef9d8b11ac |
Comments
servers: minor socket error handling fixes - sws: fix socket error code in `select()` failure message. Spotted by Copilot Bug: https://github.com/curl/curl/pull/21998#discussion_r3409469444 - sws: do not call `SOCKERRNO` twice on error. - dnsd: do not call `SOCKERRNO` twice on error. - dnsd: replace `goto` with `while()` to sync with rest of code. - dnsd: `sendto()` fail message fixes: - replace `int` cast with `%zu` mask. - drop redundant newline. - show socket error string like rest of code. - report not-fully-sent error separately from socket errors. Closes #22007
Changed files
- tests/server/dnsd.c
- tests/server/sws.c