haproxy/include
Frederic Lecaille 04a5b7691a MINOR: haterm: add haterm 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.

The makefile is modified to handle haterm.c and haterm_init.c new files
in additions to all the C files for haproxy to build new haterm program

Into haproxy, the haterm server also instantiates a haterm 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 haterm.c) which has the same role as process_stream() but for haterm
streams.

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

haterm_init.c is added to implement haproxy_init_args() which overloads the
one defined by haproxy.c. This way, haterm program uses its own argv[] parsing
function.
2026-02-18 18:57:00 +01:00
..
haproxy MINOR: haterm: add haterm HTTP server 2026-02-18 18:57:00 +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