aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_buf.c
diff options
context:
space:
mode:
authorAlexey Radkov <alexey.radkov@gmail.com>2021-08-19 20:51:27 +0300
committerAlexey Radkov <alexey.radkov@gmail.com>2021-08-19 20:51:27 +0300
commit3253b346fb8b067d68a79ae72e08a376f234b0b3 (patch)
treed1a53012f37f2d7cafbe88d81f8a95e739c403e9 /src/core/ngx_buf.c
parent67d2a9541826ecd5db97d604f23460210fd3e517 (diff)
downloadnginx-3253b346fb8b067d68a79ae72e08a376f234b0b3.tar.gz
nginx-3253b346fb8b067d68a79ae72e08a376f234b0b3.zip
Core: removed unnecessary restriction in hash initialization.
Hash initialization ignores elements with key.data set to NULL. Nevertheless, the initial hash bucket size check didn't skip them, resulting in unnecessary restrictions on, for example, variables with long names and with the NGX_HTTP_VARIABLE_NOHASH flag. Fix is to update the initial hash bucket size check to skip elements with key.data set to NULL, similarly to how it is done in other parts of the code.
Diffstat (limited to 'src/core/ngx_buf.c')
0 files changed, 0 insertions, 0 deletions