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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
Sometimes we have unexpected websocket disconnect in event/nio.c
static void nio_read(hio_t* io) {
...
if (nread == 0 && (io->io_type & HIO_TYPE_SOCK_STREAM)) {
goto disconnect;
}
...
Our guess that it happens not because opposite side closed connection, but just because lack of data in the socket.
We tried this patch
It works fine for us.
Could you check if it is correct and apply it, if yes?
Thank you in advance
Vladimir
Beta Was this translation helpful? Give feedback.
All reactions