You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling readNBytes on InputStream of pseudo tcp socket instance, causes it to hang in loop forever.
I think this behavior is caused by PseudoTcpInputStream#read(byte[], int, int) implementation which doesn't know how to handle length of zero, i.e. when length of zero is provided it loops forever because in these lines:
Calling readNBytes on InputStream of pseudo tcp socket instance, causes it to hang in loop forever.
I think this behavior is caused by
PseudoTcpInputStream#read(byte[], int, int)
implementation which doesn't know how to handle length of zero, i.e. when length of zero is provided it loops forever because in these lines:ice4j/src/main/java/org/ice4j/pseudotcp/PseudoTcpSocketImpl.java
Line 922 in 15981cf
read is never more than zero, if length=0
The text was updated successfully, but these errors were encountered: