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
There's some peculiar behavior when read is called with no data available, for sure when nonblock but possibly also when blocking: it always just returns 0. I have traced it all the way to the libc call. The fix for jnr/jnr-enxio#44 does not appear to improve the behavior.
This prevents JRuby working with nonblocking UNIX sockets properly:
Note this requires the fiber_async branch currently in progress based on 9.5-dev and current master from this repository. A previous fix on the JRuby branch added a missing negation to the errno returned, which led to the discovery that unix sockets still always returned 0.
There's some peculiar behavior when read is called with no data available, for sure when nonblock but possibly also when blocking: it always just returns 0. I have traced it all the way to the libc call. The fix for jnr/jnr-enxio#44 does not appear to improve the behavior.
This prevents JRuby working with nonblocking UNIX sockets properly:
Outputs
-35
on CRuby but0
on JRuby.The text was updated successfully, but these errors were encountered: