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
@hhslepicka reports a side-effect of #144 in the form of Connection closed with RX socket error 9. Error 9 is EBADF, which previously was treated the same as normal connection end. So it looks like there is a race during TCP connection shutdown. This has potentially nasty consequences as FDs can be reused quickly.
The results of epics-base/epics-base#30 suggest that an interrupted recv() should return 0. However, given that a interrupted recvfrom() can return EBADF it isn't certain that there is an actual race here.
While not a fix, a22f866 should hide this message if it occurs during connection shutdown. It appears that some interrupted calls on OSX return EBADF (which I guess is true after close()).
@hhslepicka reports a side-effect of #144 in the form of
Connection closed with RX socket error 9
. Error 9 is EBADF, which previously was treated the same as normal connection end. So it looks like there is a race during TCP connection shutdown. This has potentially nasty consequences as FDs can be reused quickly.pvAccessCPP/src/remote/codec.cpp
Lines 1343 to 1346 in 3a8a24d
The text was updated successfully, but these errors were encountered: