Page MenuHomeFreeBSD

libfetch: Fix handling of connection failures
ClosedPublic

Authored by markj on Jul 27 2026, 3:24 PM.
Tags
None
Referenced Files
F174759200: D58481.diff
Mon, Oct 5, 7:37 PM
Unknown Object (File)
Sat, Oct 3, 4:37 PM
Unknown Object (File)
Fri, Oct 2, 5:40 PM
Unknown Object (File)
Fri, Oct 2, 2:34 AM
Unknown Object (File)
Tue, Sep 29, 3:48 AM
Unknown Object (File)
Fri, Sep 18, 12:26 AM
Unknown Object (File)
Wed, Sep 16, 8:05 AM
Unknown Object (File)
Wed, Sep 9, 12:14 AM
Subscribers

Details

Summary

After commit 848f360c8f9a, if one tries to connect to a closed port,
fetch reports "Operation now in progress", which is rather confusing.
Return a more useful error message, restoring the old behaviour.

Fixes: 848f360c8f9a ("libfetch: Apply timeout to connection attempts")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

markj requested review of this revision.Jul 27 2026, 3:24 PM

Please document as a 14.5 issue and expedite MFC (or just let me know and I'll take care of it)

This revision is now accepted and ready to land.Jul 27 2026, 6:46 PM
In D58481#1341864, @des wrote:

Please document as a 14.5 issue and expedite MFC (or just let me know and I'll take care of it)

I'll MFC after 3 days, so it'll land in stable/14 with lots of time before the branch.

This revision was automatically updated to reflect the committed changes.