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

Improve warning when automatic ctor/dtor are enabled

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Build, libmongoc
    • None

    Description

      Automatically calling mongoc_init() and mongoc_cleanup() has been deprecated for a while, but for bc reasons it is still enabled by default.

      Unfortunately, this causes lots of issues when the client app does not actually call the functions, such as with SASL cleanup routines.

      During configuration, we should make it abundantly clear when sasl and automatic ctor/dtor is enabled, that this will result in issues.
      See for examples linked tickets

      Attachments

        Activity

          People

            Unassigned Unassigned
            bjori Hannes Magnusson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: