Page MenuHomeFreeBSD

libfetch: Fix handling of connection failures
ClosedPublic

Authored by markj on Jul 27 2026, 3:24 PM.
Tags
None
Referenced Files
F170591378: D58481.id182862.diff
Sat, Sep 5, 1:27 PM
Unknown Object (File)
Thu, Sep 3, 11:18 AM
Unknown Object (File)
Sat, Aug 29, 2:03 PM
Unknown Object (File)
Sat, Aug 29, 5:04 AM
Unknown Object (File)
Sat, Aug 29, 2:03 AM
Unknown Object (File)
Fri, Aug 28, 9:03 AM
Unknown Object (File)
Tue, Aug 25, 8:59 PM
Unknown Object (File)
Mon, Aug 24, 9:38 PM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 75165
Build 72048: arc lint + arc unit

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.