MINOR: proto_htx: Use full HTX messages to send 103-Early-Hints responses
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 28 Nov 2018 12:55:14 +0000 (13:55 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 1 Dec 2018 16:37:27 +0000 (17:37 +0100)
commitee9b5bfe89a255c1d6ea093507648a6984fbd45b
tree8038959977de86ab259f892879be6efac8e57900
parent23a3c790e63876161089e359ecc8508f9a1b1799
MINOR: proto_htx: Use full HTX messages to send 103-Early-Hints responses

Instead of replying by adding an OOB block in the HTX structure, we now add a
valid HTX message. A header block is added to each early-hint rule, prefixed by
the start line if it is the first one. The response is terminated and forwarded
when the rules execution is stopped or when a rule of another type is applied.
src/proto_htx.c