diff options
| author | Vladimir Homutov <vl@nginx.com> | 2017-04-07 16:28:15 +0300 |
|---|---|---|
| committer | Aleksei Bavshin <a.bavshin@f5.com> | 2026-03-09 11:08:30 -0600 |
| commit | 7acbe17776a4133a08c7b5f502dc4a8fc40b2aef (patch) | |
| tree | 1eae0601b2f9e44961e9b84e70fa0c91d132ed08 /src/http/modules/ngx_http_auth_basic_module.c | |
| parent | c988a6e2c13fc37cfc09d11a492540cd4e44163a (diff) | |
| download | nginx-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_auth_basic_module.c')
0 files changed, 0 insertions, 0 deletions
