Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-1438

WSA codes not properly handled by bio_return_value

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.0
    • 2.7.0
    • LiteCore
    • Security Level: Public
    • Jim 34
    • 2

    Description

      https://github.com/couchbase/couchbase-lite-core/issues/944

      The bio_return_value function does not handle errors returned by Windows, which are not POSIX errors but WSA errors and so even errors that should retry will cause the connection to close. The two that need to be added here, I believe, are WSACONNRESET and WSAEWOULDBLOCK (second one cause the issue to be filed).

      Attachments

        Activity

          People

            jimb Jim Borden
            jimb Jim Borden
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty