Il giorno 04/ago/2011, alle ore 15:07, Peter Smit ha scritto:

> When in async mode (--async 10 --ugreen), will reading
> environ['wsgi.input'] ever block?

Yes it blocks, for async programming where post data are relevant you have to 
read directly from the file descriptor:

fileno(environ['wsgi.input'])

this maps directly to the uwsgi socket
> 

--
Roberto De Ioris
http://unbit.it
JID: [email protected]

_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to