aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_send.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/unix/ngx_send.c')
-rw-r--r--src/os/unix/ngx_send.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/os/unix/ngx_send.c b/src/os/unix/ngx_send.c
index 5cbb1285e..e0d690077 100644
--- a/src/os/unix/ngx_send.c
+++ b/src/os/unix/ngx_send.c
@@ -40,6 +40,8 @@ ngx_unix_send(ngx_connection_t *c, u_char *buf, size_t size)
wev->ready = 0;
}
+ c->sent += n;
+
return n;
}