commit | bc684acae70d21c4ece4a583147dfcca5064688e | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Tue May 17 14:46:15 2022 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Tue May 17 16:13:22 2022 +0200 |
tree | 86e86814489624c88e4f23a04eefb8d4371dcf29 | |
parent | 2d9cc85b748ef32cca45d749c504bf73044063c0 [diff] |
CLEANUP: proxy: Remove dead code when parsing "http-restrict-req-hdr-names" option negation or default modifiers are not supported for this option. However, this was already tested earlier in cfg_parse_listen() function. Thus, when "http-restrict-req-hdr-names" option is parsed, the keyword modifier is always equal to KWM_STD. It is useless to test it again at this place. This patch should solve the issue #1702.