diff src/http/ngx_http_upstream.h @ 4120:42135dd1f0ea

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.
author Maxim Dounin <mdounin@mdounin.ru>
date Thu, 15 Sep 2011 19:03:15 +0000
parents dbddec65fdab
children 0ee350b5177c
line wrap: on
line diff
--- a/src/http/ngx_http_upstream.h	Thu Sep 15 19:00:47 2011 +0000
+++ b/src/http/ngx_http_upstream.h	Thu Sep 15 19:03:15 2011 +0000
@@ -308,6 +308,7 @@
 #endif
 
     unsigned                         buffering:1;
+    unsigned                         keepalive:1;
 
     unsigned                         request_sent:1;
     unsigned                         header_sent:1;