summaryrefslogtreecommitdiffhomepage
path: root/src/http/modules/ngx_http_proxy_module.c
diff options
context:
space:
mode:
authorVladimir Homutov <vl@nginx.com>2017-04-07 16:28:15 +0300
committerAleksei Bavshin <a.bavshin@f5.com>2026-03-09 11:08:30 -0600
commit7acbe17776a4133a08c7b5f502dc4a8fc40b2aef (patch)
tree1eae0601b2f9e44961e9b84e70fa0c91d132ed08 /src/http/modules/ngx_http_proxy_module.c
parentc988a6e2c13fc37cfc09d11a492540cd4e44163a (diff)
downloadnginx-7acbe17776a4133a08c7b5f502dc4a8fc40b2aef.tar.gz
nginx-7acbe17776a4133a08c7b5f502dc4a8fc40b2aef.tar.bz2
Sticky: added the "max-age" attribute to cookie.
RFC 6265 defines "Max-Age" cookie attribute in section 5.2.2. If the "expires" option is passed to the "sticky" directive, "max-age" attribute will appear in cookies set by the module with corresponding value in seconds. For the special "max" value of the "expires" option, corresponding "max-age" attribute value will be set to 315360000 seconds (10 years, similar to how its done in headers_filter module for the "Cache-Control" header).
Diffstat (limited to 'src/http/modules/ngx_http_proxy_module.c')
0 files changed, 0 insertions, 0 deletions