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

mongoc_client_reset should reset key vault client

    • Type: Icon: Bug Bug
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: libmongoc
    • None

      A mongoc_client_t with automatic encryption (set via mongoc_client_enable_auto_encryption()) may use a separate inner mongoc_client_t passed via mongoc_auto_encryption_opts_set_keyvault_client to communicate with the key vault. Calling mongoc_client_reset should also reset the inner mongoc_client_t used to communicate with the key vault. Otherwise, the inner key vault client could end up reusing sessions from its own session pool.

            Assignee:
            kevin.albertson@mongodb.com Kevin Albertson
            Reporter:
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: