Mercurial > hg > nginx
view auto/have_headers @ 7209:3dfe9444324b
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.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 15 Feb 2018 19:06:22 +0300 |
parents | d620f497c50f |
children |
line wrap: on
line source
# Copyright (C) Igor Sysoev # Copyright (C) Nginx, Inc. cat << END >> $NGX_AUTO_HEADERS_H #ifndef $have #define $have 1 #endif END