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
I don't think we can do anything here to improve the situation without breaking the interface. I think the best thing to do would be throwing an exception if read() is called repeatedly and returned null before.
byte-stream/lib/ResourceInputStream.php
Line 121 in 22113f2
In some rare cases if caller code doesn't check for null this may cause infinite loop and amp loop will not work.
Need to use
immediateWatcher
instead. This may also affects output stream.Also see related ticket:
amphp/ssh#16
The text was updated successfully, but these errors were encountered: