Willy Tarreau 092d865c53 MEDIUM: listener: implement a per-protocol pause() function
In order to fix the abstact socket pause mechanism during soft restarts,
we'll need to proceed differently depending on the socket protocol. The
pause_listener() function already supports some protocol-specific handling
for the TCP case.

This commit makes this cleaner by adding a new ->pause() function to the
protocol struct, which, if defined, may be used to pause a listener of a
given protocol.

For now, only TCP has been adapted, with the specific code moved from
pause_listener() to tcp_pause_listener().
2014-07-08 01:13:34 +02:00
..
2014-06-20 07:10:07 +02:00
2009-01-25 13:49:53 +01:00
2014-06-19 14:29:32 +02:00
2014-06-20 07:10:07 +02:00
2007-05-13 20:19:55 +02:00
2014-06-20 07:10:07 +02:00