]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: tcp: add new "close" action for tcp-response
authorWilly Tarreau <w@1wt.eu>
Wed, 11 Sep 2013 21:20:29 +0000 (23:20 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 11 Sep 2013 21:28:51 +0000 (23:28 +0200)
commitcc1e04b1e8934212ca7e2535d84e8a5ec0717799
treeb8c18d428631302ea24e0737adc25087040b9dd5
parent3a925c155d888aed83608e4ad6474702f28aac02
MINOR: tcp: add new "close" action for tcp-response

This new action immediately closes the connection with the server
when the condition is met. The first such rule executed ends the
rules evaluation. The main purpose of this action is to force a
connection to be finished between a client and a server after an
exchange when the application protocol expects some long time outs
to elapse first. The goal is to eliminate idle connections which
take signifiant resources on servers with certain protocols.
doc/configuration.txt
include/types/proto_tcp.h
src/proto_tcp.c