haproxy/include
Frederic Lecaille ce97d1169c MINOR: httpterm: add httpterm HTTP server
Contrary to haproxy, httpterm does not support all the HTTP protocols.
Furthermore, it has become easier to handle inbound/outbound
connections/streams since the rework done at conn_stream level.

This patch implements httpterm HTTP server services into haproxy. To do so,
it proceeds the same way as for the TCP checks which use only one stream
connector, but on frontend side.

Into haproxy, the httpterm server also instantiates a httpterm stream (hstream struct)
attached to a stream connector for each incoming connection without backend stream
connector. This is the role of sc_new_from_endp() called by the muxes to instantiate
streams/hstreams.

As for stream_new(), hstream_new() instantiates a task named process_hstream()
(see httpterm.c) which has the same role as process_stream() but for httpterm
streams.

httpterm into haproxy takes advantage of the HTTP muxes and HTX API to support all
the HTTP protocols supported by haproxy.

httpterm_init.c is added to implement haproxy_init_args() which overloads the
one defined by haproxy.c. This way, httpterm program uses its own argv[] parsing
function.
2026-02-12 11:19:43 +01:00
..
haproxy MINOR: httpterm: add httpterm HTTP server 2026-02-12 11:19:43 +01:00
import CLEANUP: assorted typo fixes in the code, commits and doc 2025-12-25 19:45:29 +01:00
make BUILD: makefile: add a qinfo macro to pass info in quiet mode 2025-01-08 11:26:05 +01:00