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

SetSocketOption throws exception under mono runtime

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.3
    • Fix Version/s: 1.3.5
    • Component/s: library
    • Labels:
    • Environment:
      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

          Hide
          jmorris Jeff Morris added a comment -

          Thanks for creating this Bowie!

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

            People

            • Assignee:
              jmorris Jeff Morris
              Reporter:
              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

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.