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

Support `compressors` URI option

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.7.0
    • None
    • None
    • None

    Description

      Add support for parsing

      mongodb://localhost/?compressors=snappy,zlib
      

      mongoc_uri_new("mongodb://localhost/?" MONGOC_URI_COMPRESSORS "=snappy,zlib");
      

      Also, add mongoc_uri getter and setter:

      MONGOC_EXPORT (const bson_t *)
      mongoc_uri_get_compressors (const mongoc_uri_t *uri);
      MONGOC_EXPORT (bool)
      mongoc_uri_set_compressors (mongoc_uri_t *uri, const char *value);
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: