]> git.kaiwu.me - haproxy.git/commit
MEDIUM: htx: Add API to deal with the internal representation of HTTP messages
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 22 Oct 2018 06:59:39 +0000 (08:59 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 18 Nov 2018 21:08:53 +0000 (22:08 +0100)
commita3d2a16fada001dcee7897e49a68235d92539cdc
tree04e70626d9fca9352da533ee74e40acb76ef27e5
parent1be55f9eb28942f75e4381e87b4c5ddcc6e8ea31
MEDIUM: htx: Add API to deal with the internal representation of HTTP messages

The internal representation of an HTTP message, called HTX, is a structured
representation, unlike the old one which is a raw representation of
messages. Idea is to have a version-agnostic representation of the HTTP
messages, which can be easily used by to handle HTTP/1, HTTP/2 and hopefully
QUIC messages, and communication from one of them to another.

In this patch, we add types to define the internal representation itself and the
main functions to manipulate them.
Makefile
include/proto/htx.h [new file with mode: 0644]
include/types/htx.h [new file with mode: 0644]
src/htx.c [new file with mode: 0644]