commit | 403a9efc0c1f50333b65d5c86deb80c794e45595 | [log] [tgz] |
---|---|---|
author | Maxim Dounin <mdounin@mdounin.ru> | Mon Sep 29 22:27:45 2014 +0400 |
committer | Maxim Dounin <mdounin@mdounin.ru> | Mon Sep 29 22:27:45 2014 +0400 |
tree | 0fd9fd1a33f75cd5908ce487b1d6fe5da023d330 | |
parent | c9fbbc82731fe54f08bf53fa41677d3f1fd6fbcb [diff] |
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.