Opened 7 years ago
Closed 2 years ago
#1537 closed enhancement (duplicate)
Allow for test_types_buffer_size to be set in server configuration
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | nginx-core | Version: | 1.13.x |
Keywords: | mime | Cc: | |
uname -a: | Linux ffswebserver 3.16.0-5-amd64 #1 SMP Debian 3.16.51-3+deb8u1 (2018-01-08) x86_64 GNU/Linux | ||
nginx -V: | build by gcc 4.9.2 (Debian 4.9.2-10+deb8u1) |
Description
As I added a bunch of MIME types to gzip_types in my server block, nginx -t returned I need to increase test_types_hash_bucket_size.
Appearently I can do this in the config for types_hash_bucket_size, but not for test_types_has_bucket_size. This is currently hardcoded.
Could we add the option to configure this setting throught the config file? It might also be relevant to do the same for other test_ settings. My current configuration doenst seem very unusual to me, so I can image more people encounter this limitation after adding some MIME types.
Change History (3)
comment:2 by , 7 years ago
Could you please provide the exact error message you see, and exact configuration snippet which causes it? A message about test_types_hash_bucket_size
is only expected to appear when you are trying to use a MIME type which is too long, and it is more or less trivial to write (an incorrect) configuration which triggers this message unintentionally, see #203. See also #1446.
comment:3 by , 2 years ago
Keywords: | mime added |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Feedback timeout. Most likely it is a duplicate of #203.
title should be test_types_hash_buffer_size