Change #271162
| Category | None |
| Changed by | Viktor Szakats <commit@vsz.me> |
| Changed at | Mon 15 Jun 2026 16:43:21 |
| Repository | https://api.github.com/repos/curl/curl |
| Project | curl/curl |
| Branch | master |
| Revision | 0dae3b2690ad280d010f1ca9073801040aca947b |
Comments
servers: accept `lstat()` failing due to the file missing In `bind_unix_socket()`, before retrying `bind()`. Before this patch the code wanted to check if the to-be-deleted unix socket path was indeed a socket, before deleting it and retrying to bind. If `lstat()` failed for any reason, it skipped retry. Fix to retry if `lstat()` failed because of the file missing. Ref: https://pubs.opengroup.org/onlinepubs/9799919799/functions/lstat.html Follow-up to 0882e3951d910b923f3463fa98604df9fcb13a0c #22026 Follow-up to 03bc93bd327e06e86af0b0c14a888f7482affedc #22021 Follow-up to e70f8ebd34edade24df442152f52b361abaf4309 #22020 Follow-up to 30e491e5c921aecca5a16083d8185840dc64eccd #7034 Follow-up to 99fb36797a3f0b64ad20fcb8b83026875640f8e0 Closes #22010
Changed files
- tests/server/util.c