Welcome! Log In Create A New Profile

Advanced

Re: How nginx stream module reuse tcp connections?

March 07, 2021 09:03PM
Hi,
Thanks for the reply!

So, if there is no error and the downstream/upstream didn't actively close the connection, the nginx won't timeout and close the tcp connection with the downstream or with the upstream at all? is that correct? and I suppose the SO_KEEPALIVE option is turn on by default on connection sockets, right?

The "session" refers to the ngx_stream_session_t in the source code, I want to know if the tcp load balance (select upstream) is triggered just once per "session" just like http does with ngx_http_request_t?


Regards,
Allen
Subject Author Posted

How nginx stream module reuse tcp connections?

allenhe February 25, 2021 09:31PM

Re: How nginx stream module reuse tcp connections?

Francis Daly March 07, 2021 06:50AM

Re: How nginx stream module reuse tcp connections?

allenhe March 07, 2021 09:03PM

Re: How nginx stream module reuse tcp connections?

Francis Daly March 09, 2021 10:12AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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