]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: mux-h1: Add dummy mux to handle HTTP/1.1 connections
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 13 Sep 2018 07:05:15 +0000 (09:05 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 18 Nov 2018 21:02:11 +0000 (22:02 +0100)
commit51dbc94d48bf6011d088ba8a0927176b39e60991
treefa3c1b578640ee1b1faff93b7fd410a8a82e4f99
parente0768ebabcd125f1117686ed130693ecae1a2e48
MEDIUM: mux-h1: Add dummy mux to handle HTTP/1.1 connections

For now, it is just an other kind of passthrough multiplexer, but with internal
buffers to be prepared to parse incoming messages and to format outgoing
ones. There is also a task attached to it to handle timeouts. However, because
it does not handle any timeout for now, this task is unused. And finally,
because it handles internal buffers, it also handles retries on recv/send. To
use this multiplexer, you must use the option "http-use-htx" both on the
frontend and the backend.

It does not support keep-alive and will freeze connections after the first
request/response.
Makefile
src/mux_h1.c [new file with mode: 0644]