mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 07:37:02 +02:00
Use the new HTTPCLIENT_O_RES_HTX flag when using the CLI httpclient with --htx. It allows to process directly the response in HTX, then the htx_dump() function is used to display a debug output. Example: echo "httpclient --htx GET https://haproxy.org" | socat /tmp/haproxy.sock htx=0x79fd72a2e200(size=16336,data=139,used=6,wrap=NO,flags=0x00000010,extra=0,first=0,head=0,tail=5,tail_addr=139,head_addr=0,end_addr=0) [0] type=HTX_BLK_RES_SL - size=31 - addr=0 HTTP/2.0 301 [1] type=HTX_BLK_HDR - size=15 - addr=31 content-length: 0 [2] type=HTX_BLK_HDR - size=32 - addr=46 location: https://www.haproxy.org/ [3] type=HTX_BLK_HDR - size=25 - addr=78 alt-svc: h3=":443"; ma=3600 [4] type=HTX_BLK_HDR - size=35 - addr=103 set-cookie: served=2:TLSv1.3+TCP:IPv4 [5] type=HTX_BLK_EOH - size=1 - addr=138 <empty> |
||
---|---|---|
.. | ||
design-thoughts | ||
internals | ||
lua-api | ||
51Degrees-device-detection.txt | ||
acl.fig | ||
coding-style.txt | ||
configuration.txt | ||
cookie-options.txt | ||
DeviceAtlas-device-detection.txt | ||
gpl.txt | ||
haproxy.1 | ||
HAProxyCommunityEdition_60px.png | ||
intro.txt | ||
lgpl.txt | ||
linux-syn-cookies.txt | ||
lua.txt | ||
management.txt | ||
netscaler-client-ip-insertion-protocol.txt | ||
network-namespaces.txt | ||
peers-v2.0.txt | ||
peers.txt | ||
proxy-protocol.txt | ||
queuing.fig | ||
regression-testing.txt | ||
seamless_reload.txt | ||
SOCKS4.protocol.txt | ||
SPOE.txt | ||
WURFL-device-detection.txt |