Parallel subrequests for multi-source long polling?

Piotr Sikora piotr.sikora at
Fri Nov 20 01:35:00 MSK 2009

> I figure the trickiest part will be building those requests and getting 
> them in to state that's usable by nginx.

This is already done, so there isn't much to figure out ;)

Just create "independent" request:
r = ngx_supervisord_init(pool, uscf);
and then you can inject it into regular nginx's flow:

You just need to create your own u->peer.get(), u->, 
u->create_request() and u->finalize_request() functions.

That's of course, if you give up on subrequests.

Best regards,
Piotr Sikora < piotr.sikora at >

More information about the nginx mailing list