mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
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.