]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-h1: Capture bad H1 messages
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 29 Nov 2018 22:01:45 +0000 (23:01 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 1 Dec 2018 16:37:27 +0000 (17:37 +0100)
commite44769b4faa293dace8750e7924eb469a9773888
tree693d1dca0a9379eaaff6d865539c0e4042f59dc5
parentbd44ca6edebcbdfc7707346ccf00c8daa0310c7c
MINOR: mux-h1: Capture bad H1 messages

First of all, an dedicated error snapshot, h1_snapshot, has been added. It
contains more or less the some info than http_snapshot but adapted for H1
messages. Then, the function h1_capture_bad_message() has been added to capture
bad H1 messages. And finally, the function h1_show_error_snapshot() is used to
dump these errors. Only Headers or data parsing are captured.
include/types/proxy.h
src/mux_h1.c