Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-2529

Return error if a ClientEncryption is used after Close

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Unknown Unknown
    • None
    • None
    • None

    Description

      Scope

      • Return an error if a ClientEncryption is used after Close.

      Background & Motivation
      Currently, calling a method on ClientEncryption after calling Close may result in a difficult to diagnose crash.

      This is due to ClientEncryption.Close frees data structures in libmongocrypt.

      For precedence, the ErrClientDisconnected error is intended to be returned by Client methods after Disconnect.

       

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: