I think the indentation in the example is wrong for the "async for msg in ws:" block.
btw, how does this work? what parses the uwsgi protocol? since you map the socket fds to the aiohttp.web.make_handler handler wont that expect http? On 3 November 2015 at 10:19, Roberto De Ioris <[email protected]> wrote: > Hi, i have worked a bit on allowing development of custom uWSGI workers > (using higher level languages). > > The following is an example of integrating python aiohttp in uWSGI: > > https://github.com/unbit/uwsgi-docs/blob/master/WorkerOverride.rst > > You need a special 2.0 branch to use it (but once i get positive report i > can merge to 2.0 easily) > > This kind of use is obviously out of the WSGI standard, so if you care it, > simply do not use it :) > > -- > Roberto De Ioris > http://unbit.com > _______________________________________________ > uWSGI mailing list > [email protected] > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi -- damjan _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
