summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_upstream.h
diff options
context:
space:
mode:
authorVladimir Homutov <vl@nginx.com>2017-06-08 15:39:06 +0300
committerAleksei Bavshin <a.bavshin@f5.com>2026-03-09 11:08:30 -0600
commit8021cb02de840d6168a98e4eefb9bdfbe51ba96e (patch)
tree83a80d3d3cb48a1a504cd0e44438bdbf91832e05 /src/http/ngx_http_upstream.h
parent7acbe17776a4133a08c7b5f502dc4a8fc40b2aef (diff)
downloadnginx-8021cb02de840d6168a98e4eefb9bdfbe51ba96e.tar.gz
nginx-8021cb02de840d6168a98e4eefb9bdfbe51ba96e.tar.bz2
Sticky: added the "header" parameter in the learn mode.
With this parameter set, sessions are learned after receiving upstream headers.
Diffstat (limited to 'src/http/ngx_http_upstream.h')
-rw-r--r--src/http/ngx_http_upstream.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/http/ngx_http_upstream.h b/src/http/ngx_http_upstream.h
index 4f1663225..0d48db788 100644
--- a/src/http/ngx_http_upstream.h
+++ b/src/http/ngx_http_upstream.h
@@ -57,6 +57,9 @@
#define NGX_HTTP_UPSTREAM_IGN_VARY 0x00000200
+#define NGX_HTTP_UPSTREAM_NOTIFY_HEADER 0x1
+
+
typedef struct {
ngx_uint_t status;
ngx_msec_t response_time;