[Web-SIG] Proposed WSGI extensions for asynchronous servers

Manlio Perillo manlio_perillo at libero.it
Mon May 12 15:03:44 CEST 2008

Phillip J. Eby ha scritto:
> [...]
>> If ``timeout`` seconds elapse without the file descriptor becoming
>> ready for I/O, the variable ``x-wsgiorg.async.timeout`` will be true
>> when the application resumes.  Otherwise, it will be false.  The value
>> of ``x-wsgiorg.async.timeout`` when the application is first started
>> or after it yields each response-body string is undefined.
> Er, I think you are confused here.  There is no way for the server to 
> know what environ dictionary the application is using, unless you 
> explicitly pass it into your extension API.

Interesting, this is something I have never considered.
In my implementation ngx.poll returns a function, so there should be no 

Regards  Manlio Perillo

More information about the Web-SIG mailing list