MINOR: stream-int: add a new flag to mention that we want the connection to be killed
authorWilly Tarreau <w@1wt.eu>
Thu, 31 Jan 2019 18:02:43 +0000 (19:02 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 31 Jan 2019 18:38:25 +0000 (19:38 +0100)
commit0f9cd7b196073f6d3a3826049b985edcd20c18be
tree2df0486f93b02df08aacde668a66f67d7232880a
parent4dbda620f2872b33aefc8c87ac34f7c71dbd1701
MINOR: stream-int: add a new flag to mention that we want the connection to be killed

The new flag SI_FL_KILL_CONN is now set by the rare actions which
deliberately want the whole connection (and not just the stream) to be
killed. This is only used for "tcp-request content reject",
"tcp-response content reject", "tcp-response content close" and
"http-request reject". The purpose is to desambiguate the close from
a regular shutdown. This will be used by the next patches.
include/proto/stream_interface.h
include/types/stream_interface.h
src/http_act.c
src/tcp_rules.c