Re: Toy http server
- From: MRAB <python@xxxxxxxxxxxxxxxxxxx>
- Date: Thu, 23 Dec 2010 01:54:10 +0000
On 22/12/2010 22:34, Stefan Sonnenberg-Carstens wrote:
Sorry, this one is cross post.[snip]
I posted my question below some time ago to then jython ml, because this
hit me first with jython.
Anyway, time passed, problem not solved.
So, I'd like to know if some of you know where my error lies:
What happens if the conns list contains a writer that's ready?
The select function returns immediately with that writer in the writer
list. If it's not srv then nothing is done with it, so execution just
loops back to the select function with that writer still in the conns
list, and the select function then returns immediately with that writer
in the writer list again.
Infinite loop!
.
- References:
- Re: Catching user switching and getting current active user from root on linux
- From: Tim Harig
- Re: Catching user switching and getting current active user from root on linux
- From: mpnordland
- Re: Catching user switching and getting current active user from root on linux
- From: Steve Holden
- Re: Catching user switching and getting current active user from root on linux
- From: Steven D'Aprano
- Re: Catching user switching and getting current active user from root on linux
- Prev by Date: Re: Python Web App
- Next by Date: Re: Python Web App
- Previous by thread: Toy http server
- Next by thread: Re: Catching user switching and getting current active user from root on linux
- Index(es):
Relevant Pages
|