Idle timeout handling fix

Wichert Akkerman wichert at wiggy.net
Mon Aug 10 10:34:14 UTC 2009


As was discussed previously on this list and on irc the current idle 
time handling in chilli uses both incoming and outgoing traffic to 
measure idle time. This is not ideal, and can be very expensive for 
environments where people pay for time used.

I've attached a patch which modifies chilli to only take outgoing 
traffic into account when determining the idle time. To do this I 
introduced a new last_sent_time timestamp to the session parameters and 
updated the code to update and check that.

Wichert.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: idle.diff
URL: <http://lists.coova.org/pipermail/chilli/attachments/20090810/54147036/attachment.asc>


More information about the Chilli mailing list