4 Jan
2008
4 Jan
'08
12:40 a.m.
On Wed, 2008-01-02 at 02:24 +0200, Timo Sirainen wrote:
As for the setup_timeout() thing, I think most of that logic should be in src/lib/. Instead of having one idle timeout, add a struct timeout to all clients and add a new timeout_reset() API to reset it whenever receiving input. The current timeout handling code is a bit inefficient with lots of timers though, so that probably needs a redesign as well.
A lot of this is now done in v1.1 code tree. auth and master processes could still use some timeout fixing though.