commit | 82bc4bfda1c6dcd382e9fd8e121cdbd0773ec76d | [log] [tgz] |
---|---|---|
author | Maxim Dounin <mdounin@mdounin.ru> | Thu Feb 15 19:06:22 2018 +0300 |
committer | Maxim Dounin <mdounin@mdounin.ru> | Thu Feb 15 19:06:22 2018 +0300 |
tree | ec5a81cca2e2f6b9687d8b15a774b13fae77724e | |
parent | 3ee1db6e2080e30c1098e480698cd697b16ddd42 [diff] |
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.