]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: h1: add H1_MF_TOLOWER to decide when to turn header names to lower case
authorWilly Tarreau <w@1wt.eu>
Wed, 12 Sep 2018 07:54:00 +0000 (09:54 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 12 Sep 2018 15:38:26 +0000 (17:38 +0200)
commiteb528db60bb7cce7ba484b16ddd3933917bbf8dc
tree8b2d6afc187f98ca540e454ba5a4e4177a812f57
parentc2ab9f5163f6671a39f11c2a80e80fd94ebbf32a
MINOR: h1: add H1_MF_TOLOWER to decide when to turn header names to lower case

The h1 parser used to systematically turn header field names to lower
case because it was designed for H2. Let's add a flag which is off by
default to condition this behaviour so that when using it from an H1
parser it will not affect the message.
include/types/h1.h
src/h1.c
src/mux_h2.c