diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2014-09-29 22:27:45 +0400 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2014-09-29 22:27:45 +0400 |
commit | 403a9efc0c1f50333b65d5c86deb80c794e45595 (patch) | |
tree | 0fd9fd1a33f75cd5908ce487b1d6fe5da023d330 /src/os/unix/ngx_linux_sendfile_chain.c | |
parent | c9fbbc82731fe54f08bf53fa41677d3f1fd6fbcb (diff) | |
download | nginx-403a9efc0c1f50333b65d5c86deb80c794e45595.tar.gz nginx-403a9efc0c1f50333b65d5c86deb80c794e45595.zip |
Upstream keepalive: reset c->sent on cached connections.
The c->sent is reset to 0 on each request by server-side http code,
so do the same on client side. This allows to count number of bytes
sent in a particular request.
Diffstat (limited to 'src/os/unix/ngx_linux_sendfile_chain.c')
0 files changed, 0 insertions, 0 deletions