Welcome! Log In Create A New Profile

Advanced

Re: [PATCH] websockets support for uwsgi protocol

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-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Re: [PATCH] websockets support for uwsgi protocol

Maxim Dounin 1023 February 20, 2013 08:52AM

Re: [PATCH] websockets support for uwsgi protocol

roberto 825 February 20, 2013 08:54AM

Re: [PATCH] websockets support for uwsgi protocol

roberto 972 February 20, 2013 09:08AM

Re: [PATCH] websockets support for uwsgi protocol

Maxim Dounin 562 February 20, 2013 10:12AM

Re: [PATCH] websockets support for uwsgi protocol

roberto 836 February 20, 2013 10:22AM

Re: [PATCH] websockets support for uwsgi protocol

Maxim Dounin 581 February 20, 2013 11:42AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 154
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