]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: snapshot: split the error snapshots into common and proto-specific parts
authorWilly Tarreau <w@1wt.eu>
Thu, 6 Sep 2018 17:41:22 +0000 (19:41 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 7 Sep 2018 14:13:45 +0000 (16:13 +0200)
commit7480f323ff0827f57d53afe3dafd761d15cd482c
tree0d2d87d0c17fbded0eddc0c5b1d6423de6acd5b5
parent5865a8fe699c91ad40139a1f1ed3abd561f48987
MINOR: snapshot: split the error snapshots into common and proto-specific parts

The idea will be to make the error snapshot feature accessible to other
protocols than just HTTP. This patch only introduces an "http_snapshot"
structure and renames a few fields to make things more explicit. The
HTTP part was installed inside a union so that we can easily add more
protocols in the future.
include/types/proxy.h
src/proto_http.c