[PATCH] websockets support for uwsgi protocol

Roberto De Ioris roberto at unbit.it
Wed Feb 20 13:30:38 UTC 2013


Hi, the (tiny) attached patch enable support for new websockets handling
when the uwsgi protocol is used instead of HTTP.

I have tested it with various websocket libraries and with the api
available in uWSGI 1.9.

>From 1.9 sources (with nginx pointing to uwsgi port 3031):

./uwsgi -s :3031 -w tests.websockets_echo --gevent 10


no additional configuration is needed for nginx

-- 
Roberto De Ioris
http://unbit.it
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uwsgi_websocket_nginx.patch
Type: application/octet-stream
Size: 695 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20130220/9a788440/attachment.obj>


More information about the nginx mailing list