[CDRIVER-2117] Support `compressors` URI option Created: 04/Apr/17  Updated: 24/Apr/17  Resolved: 04/Apr/17

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.7.0

Type: New Feature Priority: Major - P3
Reporter: Hannes Magnusson Assignee: Hannes Magnusson
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: CDRIVER OP_COMPRESSED

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



 Comments   
Comment by Githook User [ 04/Apr/17 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: CDRIVER-2117 Add support for `compressors` URI option

Along with mongoc_uri_ getter & setter
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/aa357987ac59e13020757b401068abf25e191609

Generated at Wed Feb 07 21:14:14 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.