> On 30 May 2012, at 20:27, Roberto De Ioris wrote: >> [DISCLAIMER] >> the following code is totally non-standard and WEB-SIG gurus will >> probably try to kill me for having showed you that > > LOL That's awesome. > Very well, so it will be uWSGI. > >> data = uwsgi.recv(s) >> (the maximum size of data is 4k chunk) > > I guess I will have to parse the reply header and issue no more recv() > than needed. >
Yes, because it would block if no data are available -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
