Skip to content

Conversation

@arturobernalg
Copy link
Member

Treat ByteChannel.read() returning -1 as connection closed and abort the SOCKS protocol state machine instead of spinning and leaving session requests pending.

Treat ByteChannel.read() returning -1 as connection closed and abort the SOCKS
protocol state machine instead of spinning and leaving session requests pending.
Copy link
Member

@ok2c ok2c left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@arturobernalg Looks good to me

@arturobernalg
Copy link
Member Author

@arturobernalg Looks good to me

@ok2c Do you want me to wait to the original reporter test the fix?

@ok2c
Copy link
Member

ok2c commented Jan 21, 2026

@arturobernalg If you are no longer able to reproduce the issue with the test app posted by the reporter, just merge the fix, cherry-pick it to 5.4.x, close the ticket as resolved and ask the reporter to re-test and re-open it if the problem can be reproduced locally with the latest snapshot (master or 5.4.x)

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