commit | c2ab9f5163f6671a39f11c2a80e80fd94ebbf32a | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Sep 11 17:57:05 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Sep 12 17:38:25 2018 +0200 |
tree | feae730ea4f47aab7fef1f42f98026c56fd82a1b | |
parent | 11da5674c36b0ebc72b8b6a54f74ad8f0ad078c1 [diff] |
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.