update c->sent in ngx_unix_send()

This commit is contained in:
Igor Sysoev 2009-04-18 19:13:53 +00:00
parent 61b7791486
commit 6ac68bcc4c
1 changed files with 2 additions and 0 deletions

View File

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