Fixed bug in socket write error handling.
The bug has been introduced in e3972a4a9c73.
This commit is contained in:
@@ -127,7 +127,9 @@ nxt_conn_io_write(nxt_task_t *task, void *obj, void *data)
|
||||
return;
|
||||
}
|
||||
|
||||
/* ret == NXT_ERROR */
|
||||
if (ret != NXT_ERROR) {
|
||||
return;
|
||||
}
|
||||
|
||||
nxt_fd_event_block_write(engine, &c->socket);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user