[Web-SIG] calling start_response and the write from a separate thread

Manlio Perillo manlio_perillo at libero.it
Sat Dec 29 13:28:31 CET 2007


Maybe I have already posted something like this.

 From the WSGI spec it is not clear if a WSGI application is allowed to 
call start_response and write from a separate thread.

For my WSGI implementation for Nginx, calling the write callable from a 
separate thread *will* cause problems (unless buffering is not enabled).

Thanks   Manlio Perillo

More information about the Web-SIG mailing list