Closed NotJustAnna closed 4 years ago
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.
readCString
InputStream#read
Method was rewritten based on this StackOverflow answer.
Default
readCString
implementation can hang even with timeout due to the blockingInputStream#read
before any timeout check. The method was rewritten to fix this.Method was rewritten based on this StackOverflow answer.