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;
         }