When in async mode (--async 10 --ugreen), will reading environ['wsgi.input'] ever block?
If it can block, what would be the way to read wsgi.input in an async way? Does waiting with x-wsgiorg.fdevent.readable guarantee that I can do environ['wsgi.input'].readline()? My question is because I want to have websocket connections, but I don't want clients to be able to DoS my server by opening connections and sending a small bit of data, making all my threads block waiting for a new line. -- Peter Smit _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
