aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_send.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-04-18 19:13:53 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-04-18 19:13:53 +0000
commit6ac68bcc4c3cbc2711fccbc78d6df3164c6dbde3 (patch)
tree242ce4da7c7054c8287dd369706c28d2ebda572b /src/os/unix/ngx_send.c
parent61b7791486fb7793bb5b96f4103161e702239e19 (diff)
downloadnginx-6ac68bcc4c3cbc2711fccbc78d6df3164c6dbde3.tar.gz
nginx-6ac68bcc4c3cbc2711fccbc78d6df3164c6dbde3.zip
update c->sent in ngx_unix_send()
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;
}