summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nxt_event_conn_write.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nxt_event_conn_write.c b/src/nxt_event_conn_write.c
index 36d96468..4ac6e2d8 100644
--- a/src/nxt_event_conn_write.c
+++ b/src/nxt_event_conn_write.c
@@ -36,6 +36,7 @@ nxt_conn_io_write(nxt_task_t *task, void *obj, void *data)
b = c->write;
sb.socket = c->socket.fd;
+ sb.error = 0;
sb.sent = 0;
sb.size = 0;
sb.buf = b;