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

Support `compressors` URI option

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.7.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      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);
      

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

              Created:
              Updated:
              Resolved: