diff options
author | Igor Sysoev <igor@sysoev.ru> | 2009-04-18 19:13:53 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2009-04-18 19:13:53 +0000 |
commit | 6ac68bcc4c3cbc2711fccbc78d6df3164c6dbde3 (patch) | |
tree | 242ce4da7c7054c8287dd369706c28d2ebda572b /src/os/unix/ngx_send.c | |
parent | 61b7791486fb7793bb5b96f4103161e702239e19 (diff) | |
download | nginx-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.c | 2 |
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; } |