Welcome! Log In Create A New Profile

Advanced

Re: nginx push question

June 30, 2010 05:52AM
On 30/06/2010 09:55, Mike Baroukh wrote:
>
> Hi.
>
> I found the nginx_push_module recently and I'm trying to find if it
> can fill my needs.
> It is really fantastic when 1 user subscribe to 1 stream.
>
> But, can someone tell me if there is a way for one user to subscribe
> with one request to many channel ?
> I don't think because in the activity http response, there is no
> header with he channel id to distinguish responses :
>
Hi Mike,

The way to do this is to have two httprequests outstanding, one for each
channel.

If you set them up with different callbacks for when a response arrives
then the messages for each channel will flow through independently of
the other.

Regards

Ian





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

nginx push question

Mike Baroukh June 30, 2010 05:02AM

Re: nginx push question

hobson42 June 30, 2010 05:52AM

Re: nginx push question

Mike Baroukh June 30, 2010 06:02AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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