Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-3173

possible be a bug for _mongoc_socket_wait(..., expire_at = -1)

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.15.0
    • Affects Version/s: None
    • Component/s: None

      Per design,   the -1 means block all the time.   but during the implementation,  it doesn't check it in MONGOC_ERROR_IS_AGAIN case, see https://github.com/mongodb/mongo-c-driver/blob/master/src/libmongoc/src/mongoc/mongoc-socket.c#L222.
       
      should we change it to  "OPERATION_EXPIRED(expire_at)"?  
       
       
      Thanks

            Assignee:
            haris.sheikh@mongodb.com Haris Sheikh (Inactive)
            Reporter:
            zhihuifan@163.com zhihui fan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: