Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information