ccan's io_poll does not handle the POLLHUP case that macOS returns on failed connect() calls, causing socket errors to surface as Bad file descriptor instead of the expected platform-specific error.
This is the underlying cause of #9067. PR #9140 provides a partial fix at the test level, but the correct fix is in ccan:
rustyrussell/ccan#128 (merged)
This issue tracks updating lightning's vendored ccan copy (make update-ccan).
ccan's
io_polldoes not handle thePOLLHUPcase that macOS returns on failedconnect()calls, causing socket errors to surface asBad file descriptorinstead of the expected platform-specific error.This is the underlying cause of #9067. PR #9140 provides a partial fix at the test level, but the correct fix is in ccan:
rustyrussell/ccan#128 (merged)
This issue tracks updating lightning's vendored ccan copy (
make update-ccan).