moonbridge
changeset 52:042bb4854aa6
Improvements to reference (idle_time vs timeout)
author | jbe |
---|---|
date | Sun Mar 22 11:56:47 2015 +0100 (2015-03-22) |
parents | 2be59069a184 |
children | aaf67ef45c22 |
files | reference.txt |
line diff
1.1 --- a/reference.txt Fri Mar 20 15:38:54 2015 +0100 1.2 +++ b/reference.txt Sun Mar 22 11:56:47 2015 +0100 1.3 @@ -4,7 +4,7 @@ 1.4 1.5 1.6 1.7 -Global function listen(...) 1.8 +Global function listen{...} 1.9 --------------------------- 1.10 1.11 This function initializes the Moonbridge Network Server. It may be called 1.12 @@ -39,6 +39,10 @@ 1.13 the timeout(...) function with one argument), the shorter timeout (of the 1.14 previous call of timeout(...)) will have precedence. 1.15 1.16 +Timers are also automatically reset (disabled) when a handler (prepare handler 1.17 +or connect handler) returns. To shutdown processes after a certain time waiting 1.18 +for a new request, use the idle_time parameter of the listen function. 1.19 + 1.20 1.21 1.22 Socket object passed to "connect" handler