MINOR: h2: detect presence of CONNECT and/or content-length
authorWilly Tarreau <w@1wt.eu>
Wed, 25 Apr 2018 16:13:58 +0000 (18:13 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 26 Apr 2018 08:15:14 +0000 (10:15 +0200)
commit174b06a572ef141f15d8b7ea64eb6b34ec4c9af1
tree3cdbbb8d77c46a681b03993e28e613906299865b
parentcd235c60425dbe66c9015a357369afacc4880211
MINOR: h2: detect presence of CONNECT and/or content-length

We'll need this in order to support uploading chunks. The h2 to h1
converter checks for the presence of the content-length header field
as well as the CONNECT method and returns these information to the
caller. The caller indicates whether or not a body is detected for
the message (presence of END_STREAM or not). No transfer-encoding
header is emitted yet.
include/common/h2.h
src/h2.c
src/mux_h2.c