Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-425

SetSocketOption throws exception under mono runtime

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.3
    • 1.3.5
    • library
    • mono runtime

    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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          jmorris Jeff Morris added a comment -

          Thanks for creating this Bowie!

          jmorris Jeff Morris added a comment - Thanks for creating this Bowie!
          jmorris Jeff Morris added a comment - http://review.couchbase.org/#/c/35163/

          People

            jmorris Jeff Morris
            Bowie Bowie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty