MINOR: stream: add timeout sample fetches
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 10 Dec 2020 12:43:58 +0000 (13:43 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 11 Dec 2020 11:01:07 +0000 (12:01 +0100)
commitf7719a25db186589482b9bcbe9e0c58492d1186e
treec202ce63c1a9b6209e00e25dcbe02df1234fa5ed
parent12bada5662f41b3ae6c8d442905cbc57bdb9b9b3
MINOR: stream: add timeout sample fetches

Add cur_server_timeout and cur_tunnel_timeout.

These sample fetches return the current timeout value for a stream. This
is useful to retrieve the value of a timeout which was changed via a
set-timeout rule.
doc/configuration.txt
src/stream.c