Files
freebsd/lib/libfetch
Dag-Erling Smørgrav 351ed13488 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
2026-07-30 18:36:27 +02:00
..
2026-07-13 08:43:56 +02:00
2026-07-13 08:43:42 +02:00
…
…
2026-07-13 08:43:56 +02:00
2026-07-13 08:43:56 +02:00