Skip to content

Conversation

@NotJustAnna
Copy link
Member

Default readCString implementation can hang even with timeout due to the blocking InputStream#read before any timeout check. The method was rewritten to fix this.

Method was rewritten based on this StackOverflow answer.

@NotJustAnna NotJustAnna merged commit 70b3380 into develop Mar 7, 2020
@NotJustAnna NotJustAnna deleted the fix/handshake-hang branch March 7, 2020 20:39
@NotJustAnna NotJustAnna added this to the v2.4.2 milestone Mar 22, 2020
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