]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: h1: implement the request parser as well
authorWilly Tarreau <w@1wt.eu>
Tue, 11 Sep 2018 15:57:05 +0000 (17:57 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 12 Sep 2018 15:38:25 +0000 (17:38 +0200)
commitc2ab9f5163f6671a39f11c2a80e80fd94ebbf32a
treefeae730ea4f47aab7fef1f42f98026c56fd82a1b
parent11da5674c36b0ebc72b8b6a54f74ad8f0ad078c1
MEDIUM: h1: implement the request parser as well

The original H1 request parsing code was reintroduced into the generic
H1 parser so that it can be used regardless of the direction. If the
parser is interrupted and restarts, it makes use of the H1_MF_RESP
flag to decide whether to re-parse a request or a response. While
parsing the request, the method is decoded and set into the start line
structure.
src/h1.c