Mercurial > hg > nginx
view auto/have_headers @ 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 | d620f497c50f |
children |
line wrap: on
line source
# Copyright (C) Igor Sysoev # Copyright (C) Nginx, Inc. cat << END >> $NGX_AUTO_HEADERS_H #ifndef $have #define $have 1 #endif END