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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 1.15.0
    • None

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: