Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
Currently, we set TCPKeepAlive, but do not warn if it fails to set. It would be nice to have a warning log entry that indicates the environment declined.
Also, note that even if it is set, I believe that doesn't guarantee that TCPKeepAlive will be honored in all environments. I have experience with some setups where it may be advisory only.
Currently, we set TCPKeepAlive, but do not warn if it fails to set. It would be nice to have a warning log entry that indicates the environment declined.
On 2.7:
https://github.com/couchbase/couchbase-net-client/blob/release27/Src/Couchbase/IO/Utils/SocketExtensions.cs#L17-L41
Also, note that even if it is set, I believe that doesn't guarantee that TCPKeepAlive will be honored in all environments. I have experience with some setups where it may be advisory only.