trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bc...@apache.org
Subject trafficserver git commit: TS-3119: Added documentation for SO_LINGER
Date Tue, 27 Jan 2015 18:14:26 GMT
Repository: trafficserver
Updated Branches:
  refs/heads/master 4e5173da3 -> a465af20e


TS-3119: Added documentation for SO_LINGER


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/a465af20
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/a465af20
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/a465af20

Branch: refs/heads/master
Commit: a465af20e24029cf42b69a6f2d1479805543552a
Parents: 4e5173d
Author: Bryan Call <bcall@apache.org>
Authored: Tue Jan 27 10:13:46 2015 -0800
Committer: Bryan Call <bcall@apache.org>
Committed: Tue Jan 27 10:13:46 2015 -0800

----------------------------------------------------------------------
 doc/reference/configuration/records.config.en.rst | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/a465af20/doc/reference/configuration/records.config.en.rst
----------------------------------------------------------------------
diff --git a/doc/reference/configuration/records.config.en.rst b/doc/reference/configuration/records.config.en.rst
index dff3069..006b6cf 100644
--- a/doc/reference/configuration/records.config.en.rst
+++ b/doc/reference/configuration/records.config.en.rst
@@ -2389,12 +2389,13 @@ Sockets
 
         TCP_NODELAY (1)
         SO_KEEPALIVE (2)
+        SO_LINGER (4) - with a timeout of 0 seconds
 
    .. note::
 
-       This is a flag and you look at the bits set. Therefore,
-       you must set the value to ``3`` if you want to enable both options
-       above.
+       This is a bitmask and you need to decide what bits to set.  Therefore,
+       you must set the value to ``3`` if you want to enable nodely and
+       keepalive options above.
 
 .. ts:cv:: CONFIG proxy.config.net.sock_send_buffer_size_out INT 0
 
@@ -2411,12 +2412,17 @@ Sockets
 
         TCP_NODELAY (1)
         SO_KEEPALIVE (2)
+        SO_LINGER (4) - with a timeout of 0 seconds
 
    .. note::
 
-        This is a flag and you look at the bits set. Therefore,
-        you must set the value to ``3`` if you want to enable both options
-        above.
+       This is a bitmask and you need to decide what bits to set.  Therefore,
+       you must set the value to ``3`` if you want to enable nodely and
+       keepalive options above.
+
+       When SO_LINGER is enalbed, the linger timeout time is set to 0.
+       This setting is useful on outgoing connections when there is port
+       exhaustion between ATS and the origin server.
 
 .. ts:cv:: CONFIG proxy.config.net.sock_mss_in INT 0
 


Mime
View raw message