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

Graham Dumpleton graham.dumpleton at gmail.com
Sun Dec 30 00:03:06 CET 2007


On 29/12/2007, Manlio Perillo <manlio_perillo at libero.it> wrote:
> Hi.
>
>
> 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).

Is that similar perhaps to the issue 'app_iter and threads' listed
under WSGI 2.0 discussion points on wiki.

Graham


More information about the Web-SIG mailing list