Files
freebsd/lib/libfetch
Dag-Erling Smørgrav 70fffab746 libfetch: Further improve connection polling
* Reorganize the connection loop to make it a little more readable

* Start the timeout clock earlier

* Correctly calculate the poll timeout before calling poll()

* Don't leak the socket on failure

Fixes:		848f360c8f ("libfetch: Apply timeout to connection attempts")
Fixes:		b02e02958d ("libfetch: Fix handling of connection failures")
MFC after:	3 days
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D58512

(cherry picked from commit 351ed13488)
2026-08-02 21:55:00 +02:00
..
2026-07-21 17:04:28 +00:00
2026-07-21 17:04:27 +00:00
2023-08-16 11:54:16 -06:00
2023-08-16 11:54:42 -06:00
2026-07-21 17:04:28 +00:00
2026-07-21 17:04:28 +00:00
2023-08-16 11:55:03 -06:00