]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: htx: Don't rely on h1_sl anymore except during H1 header parsing
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 26 Nov 2018 20:37:08 +0000 (21:37 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 1 Dec 2018 16:37:27 +0000 (17:37 +0100)
commitf1ba18d7b3b8104b42615ee85c7432ec04456be5
treeb82d2131bf3b6017ae5e2f5e7a7b92d7b5186150
parent54483df5ba1af9a880ef39cba04dbe5a43eeaa83
MEDIUM: htx: Don't rely on h1_sl anymore except during H1 header parsing

Instead, we now use the htx_sl coming from the HTX message. It avoids to have
too H1 specific code in version-agnostic parts. Of course, the concept of the
start-line is higly influenced by the H1, but the structure htx_sl can be
adapted, if necessary. And many things depend on a start-line during HTTP
analyzis. Using the structure htx_sl also avoid boring conversions between HTX
version and H1 version.
include/proto/http_htx.h
include/proto/htx.h
src/http_fetch.c
src/http_htx.c
src/htx.c
src/mux_h1.c
src/proto_htx.c
src/stats.c