[PATCH] Proxy: tcp fast open in client mode

Maxim Dounin mdounin at mdounin.ru
Thu Oct 5 16:03:15 UTC 2017


Hello!

On Thu, Oct 05, 2017 at 03:12:42PM +0200, Jan Prachař wrote:

> What do you think about adding support for tcp fast open in the proxy
> module when connecting to upstream?

I'm somewhat sceptical.  It seems to be limited to very few use 
cases, and also there are lot of corner cases to consider.  In 
particular, as far as I see the patch in question will break 
miserably when using SSL (not to mention it won't work on 
non-linux systems with TCP_FASTOPEN).  It might be much better 
idea to use persistent connections to upstreams instead.

-- 
Maxim Dounin
http://nginx.org/


More information about the nginx-devel mailing list