]> git.kaiwu.me - nginx.git/commit
Upstream keepalive: reset c->sent on cached connections.
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 29 Sep 2014 18:27:45 +0000 (22:27 +0400)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 29 Sep 2014 18:27:45 +0000 (22:27 +0400)
commit403a9efc0c1f50333b65d5c86deb80c794e45595
tree0fd9fd1a33f75cd5908ce487b1d6fe5da023d330
parentc9fbbc82731fe54f08bf53fa41677d3f1fd6fbcb
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.
src/http/modules/ngx_http_upstream_keepalive_module.c