Description
the code "socket.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.Linger, true);" in SocketPool.cs throws exception under mono runtime
The correct code should like this:
LingerOption lingerOption = new LingerOption (true, 10);
socket.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.Linger, lingerOption);
Attachments
For Gerrit Dashboard: NCBC-425 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
34391,5 | NCBC-415: Fixes regression bug in which wrong GetView overload was called | master | couchbase-net-client | Status: MERGED | +2 | +1 |
35163,5 | NCBC-425: SetSocketOption throws exception under mono runtime | master | couchbase-net-client | Status: MERGED | +2 | +1 |