Consider such a scenario, there are client-a
and server-b
. server-b
has TCP keepalive disabled. And server-b does not have any application logic to check whether a TCP connection is open. client-a
establishes a TCP connection to server-b
. There is no data transfer between client-a
and server-b
afterward. In such a case, will the server ever close the idle connection? Or the server will have the TCP connection stay open forever.
After reading Longest Open TCP Connection?, I guess that such a TCP connection will stay open forever. Is my guess correct?