summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_upstream.h
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2011-09-15 19:03:15 +0000
committerMaxim Dounin <mdounin@mdounin.ru>2011-09-15 19:03:15 +0000
commit2d6be3fe93201552439c48b7f90744746b18a233 (patch)
tree128d783b16ebda6315b212603395843f4cb312b4 /src/http/ngx_http_upstream.h
parenta746bab7c113840246159a805e544457161c1d86 (diff)
downloadnginx-2d6be3fe93201552439c48b7f90744746b18a233.tar.gz
nginx-2d6be3fe93201552439c48b7f90744746b18a233.tar.bz2
Upstream: keepalive flag.
This patch introduces r->upstream->keepalive flag, which is set by protocol handlers if connection to upstream is in good state and can be kept alive.
Diffstat (limited to 'src/http/ngx_http_upstream.h')
-rw-r--r--src/http/ngx_http_upstream.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/ngx_http_upstream.h b/src/http/ngx_http_upstream.h
index c3f706e14..6e62044dc 100644
--- a/src/http/ngx_http_upstream.h
+++ b/src/http/ngx_http_upstream.h
@@ -308,6 +308,7 @@ struct ngx_http_upstream_s {
#endif
unsigned buffering:1;
+ unsigned keepalive:1;
unsigned request_sent:1;
unsigned header_sent:1;