Skip to content

Conversation

@rschmitt
Copy link
Contributor

It's fine to set socket linger on a Unix-domain socket as long as it is done through the SocketChannel API. Calling .socket() always throws on a UDS-backed SocketChannel, however, which was silently causing issues for TestAsyncSocketTimeout, as connections were being left open until timeout.

It's fine to set socket linger on a Unix-domain socket as long as it is
done through the `SocketChannel` API. Calling `.socket()` always throws
on a UDS-backed `SocketChannel`, however, which was silently causing
issues for `TestAsyncSocketTimeout`, as connections were being left open
until timeout.
@rschmitt rschmitt merged commit 44b86eb into apache:master Aug 12, 2025
10 checks passed
@rschmitt rschmitt deleted the uds-close branch August 12, 2025 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants