diff src/http/modules/ngx_http_upstream_least_conn_module.c @ 5864:39befd3c0d84

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.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 29 Sep 2014 22:27:45 +0400
parents 575175ebf4b4
children 6ff0ebd6fbf4
line wrap: on
line diff