How to implement handshake in an upstream module?

Reetesh Ranjan reeteshr at
Fri Dec 6 06:26:41 UTC 2013

> Date: Thu, 5 Dec 2013 13:23:55 -0800
> Subject: Re: How to implement handshake in an upstream module?
> From: agentzh at
> To: nginx-devel at
> You're essentially doing pipelined requests here and you will run into
> the following limitation in the nginx core:
> I ran into this when testing my ngx_redis2 module's pipelined request
> feature and my patch in that thread will help you :)
Thanks for the info. :)
> Also, you may also want to deal with keepalive connections in your
> module in the future and you will want to save the handshake for
> reused connections (from the connection pool).
Yeah, this is on the table for obvious performance reasons. I saw how you have put that upfront for redis, and that is really good. :)
> Regards,
> -agentzh
> _______________________________________________
> nginx-devel mailing list
> nginx-devel at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx-devel mailing list