Welcome! Log In Create A New Profile

Advanced

Re: Would like to implement WebSocket support

February 29, 2012 02:30PM
Alexandr Gomoliako Wrote:
-------------------------------------------------------
> On 2/2/12, André Caron <andre.l.caron@gmail.com>
> wrote:
>
> > NGINX modules[2]. After initial reading, I
> understand that I need to write
> > an Upstream (proxy) handler. Is this correct?
>
> Not really.
>
> > The HTTP proxy module has a scary note that
> says:
> >
> >> Note that when using the HTTP Proxy Module (or
> even when using FastCGI),
> >> the entire client request will be buffered in
> nginx before being passed on to
> >> the backend proxied servers.
> >
> > Is this a limitation cause by NGINX's
> architecture, or is this by design
> > (e.g. for validation of body against headers,
> etc.)?
>
> It just means that you can't use existing upstream
> modules and
> upstream interface.
>
> > The bigger problem, however, is that there is no
> standard interface to
> > application servers for this new WebSocket
> protocol. There is some
> > discussion[3] on an Apache enhancement request
> that basically proposes a
> > modification of CGI. Since CGI has already been
> demonstrated to be a
> > performance problem, I'm looking for an
> alternate solution, maybe something
> > closer to SCGI? Anyone have suggestions?
>
> I think what you need here is a simple protocol
> upgrade functionality
> that switches to tcp proxying for particular
> connection once it
> encounters upgrade in connection header. And
> everything else is up to
> application server.
> So you don't really need to parse websocket
> protocol in nginx unless
> it is your application server.
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx


Any progress on this?
I would be very interested in a plugin that brings websocket support.
SubjectAuthorPosted

Would like to implement WebSocket support

acaronFebruary 01, 2012 10:56PM

Re: Would like to implement WebSocket support

svFebruary 02, 2012 09:36AM

Re: Would like to implement WebSocket support

Alexandr GomoliakoFebruary 02, 2012 12:38PM

Re: Would like to implement WebSocket support

crazedfredFebruary 29, 2012 02:30PM

Re: Would like to implement WebSocket support

cyberchrisMay 18, 2012 05:15AM

Re: Would like to implement WebSocket support

Alexandr GomoliakoMay 18, 2012 10:16AM

Re: Would like to implement WebSocket support

姚伟斌May 20, 2012 10:48PM

Re: Would like to implement WebSocket support

zestshJune 04, 2012 02:31AM

Re: Would like to implement WebSocket support

zestshJune 04, 2012 04:33AM

Re: Would like to implement WebSocket support

zestshMarch 15, 2013 11:19PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 72
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 184 on July 08, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready