aboutsummaryrefslogtreecommitdiff
path: root/src/stream/ngx_stream_geo_module.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2018-02-15 19:06:22 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2018-02-15 19:06:22 +0300
commit9e2cd6282f05b48d018de6dff87efc28a7d8b3fa (patch)
treeec5a81cca2e2f6b9687d8b15a774b13fae77724e /src/stream/ngx_stream_geo_module.c
parent89661c0e7d90fd493fc753d388d64c134f3bb3ad (diff)
downloadnginx-9e2cd6282f05b48d018de6dff87efc28a7d8b3fa.tar.gz
nginx-9e2cd6282f05b48d018de6dff87efc28a7d8b3fa.zip
HTTP/2: precalculate hash for "Cookie".
There is no need to calculate hashes of static strings at runtime. The ngx_hash() macro can be used to do it during compilation instead, similarly to how it is done in ngx_http_proxy_module.c for "Server" and "Date" headers.
Diffstat (limited to 'src/stream/ngx_stream_geo_module.c')
0 files changed, 0 insertions, 0 deletions