Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.4
    • Fix Version/s: 2.1.0
    • Component/s: None
    • Security Level: Public
    • Labels:
      None
    • Environment:
      Windows 7, VS2010

      Description

      Run the attached testcase on Windows (after fixing the host and such). The lcb_wait after calling lcb_make_http_request will hang for a very long time (perhaps forever) if the server is no longer accessible.

      I tested this by starting the client. When it prints "sleeping" I pull the ethernet cable on my machine. If the lcb_make_http_request is replaced by lcb_get then you'll get a timeout which is expected.

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

        Activity

        Hide
        avsej Sergey Avseyev added a comment -

        Since 2.1.0 it is possible to set timeouts for views and other HTTP operations

        http://www.couchbase.com/autodocs/couchbase-c-client-2.1.0/lcb_cntl.3couchbase.html

        Show
        avsej Sergey Avseyev added a comment - Since 2.1.0 it is possible to set timeouts for views and other HTTP operations http://www.couchbase.com/autodocs/couchbase-c-client-2.1.0/lcb_cntl.3couchbase.html

          People

          • Assignee:
            avsej Sergey Avseyev
            Reporter:
            nosqlfoo matthew newhook
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes