Welcome! Log In Create A New Profile

Advanced

Re: [PATCH] websockets support for uwsgi protocol

All files from this thread

File Name File Size   Posted by Date  
uwsgi_websocket_nginx.patch 695 bytes open | download roberto 02/20/2013 Read message
February 20, 2013 08:54AM
> Hello!
>
> (Cc'd nginx-devel@ as this is better list for this discussion.)
>
> On Wed, Feb 20, 2013 at 02:30:38PM +0100, Roberto De Ioris wrote:
>
>> 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
>
> Should we also do the same for SCGI?
>
> I personally think it is more or less the same for all CGI-based
> protocols, and the only problematic one is FastCGI, which probably
> still needs wrapping within FCGI_STDIN/FCGI_STDOUT records instead
> of real connection upgrade.
>
>

AFAIK scgi body management works in the same way as the uwsgi one, so the
patch should be usable there too


--
Roberto De Ioris
http://unbit.it

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

[PATCH] websockets support for uwsgi protocol Attachments

roberto February 20, 2013 08:32AM

Re: [PATCH] websockets support for uwsgi protocol

Maxim Dounin February 20, 2013 08:52AM

Re: [PATCH] websockets support for uwsgi protocol

roberto February 20, 2013 08:54AM

Re: [PATCH] websockets support for uwsgi protocol

roberto February 20, 2013 09:10AM

Re: [PATCH] websockets support for uwsgi protocol

Maxim Dounin February 20, 2013 10:14AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 185
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready