commit | 3ed35ef05bdc773886705bd3b65867441abde4dc | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Oct 24 11:51:38 2013 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon Dec 09 15:40:23 2013 +0100 |
tree | bbece5d79afa4d87be7b07ed62cd7d81e84df051 | |
parent | f79c8171b243296f612cc05998b8775152bba201 [diff] |
MINOR: stream-interface: introduce si_reset() and si_set_state() The first function is used to (re)initialize a stream interface and the second to force it into a known state. These are intended for cleaning up the stream interface initialization code in session.c and peers.c and avoiding future issues with missing initializations.