>> Hi everyone, a maintainance release for uWSGI 1.0-LTS is available. > ... >> * backported gevent plugin from 1.2 > > Trying this, and also 1.1 with the gevent example ./tests/ugevent.py I > only get the full response once it's all done, it's not streamed to the > client. > > > I tested with > > curl -i http://localhost:8080 > > and > > ./uwsgi --file ./tests/ugevent.py --http-socket :8080 -M > > or > > ./uwsgi --file ./tests/ugevent.py --http :8080 -M > > gevent is latest from mercurial > >
You cannot use curl in that way (it will wait for the whole output). This is common even for some browser (safari for example requires a minimal amount of data before sending output). There is a flag to turning off buffering in curl: curl -N -i http://localhost:8080 should do the trick -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
