http request timeout

Oleg Broytmann phd at phd.pp.ru
Tue Oct 2 18:42:00 EDT 2001


On Tue, Oct 02, 2001 at 11:36:48PM +0200, Markus Schaber wrote:
> There already was the suggestion for the timeoutsocket, but another way 
> might be to use select() to wait for more than one action. This way, 
> one thread can wait for input on multiple connections, and e. G. for a 
> message from a watchdog thread. Asynchroneous IO is useful in lots of 
> cases, but somehow more difficult to program.

   Timeoutsockets use select() internally, of course.

Oleg.
---- 
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.




More information about the Python-list mailing list