does nginx support linger_close as client?

luocn99 nginx-forum at forum.nginx.org
Mon Mar 21 16:29:20 UTC 2016


Hi guys
     i run nginx  as a proxy, it became a client when  connecting to a
upstream server.
     i want to close the connection with SO_LINGER option when i read the
full data, because linger_close send RST to upstream server and  avoid too
many time_wait state.
     does nginx support the feature? (i think this feature is different with
the existing lingering_clise directive)

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,265547,265547#msg-265547



More information about the nginx mailing list