Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/aio/usock_posix.inc
Original file line number Diff line number Diff line change
Expand Up @@ -815,6 +815,9 @@ static void nn_usock_handler (struct nn_fsm *self, int src, int type,
errnum_assert (rc == -ECONNRESET, -rc);
goto error;
case NN_WORKER_FD_ERR:
/* we ignore the error as we want to read everything we have on the socket before */
/* socket will be closed and NN_POLLER_IN will be triggered anyway */
return;
error:
nn_worker_rm_fd (usock->worker, &usock->wfd);
nn_closefd (usock->s);
Expand Down