[CDRIVER-2140] Add support for zlibCompressionLevel Created: 24/Apr/17  Updated: 28/Oct/23  Resolved: 25/Apr/17

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

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

Epic Link: CDRIVER OP_COMPRESSED

 Description   

 
*zlibCompressionLevel* - integer value from -1 - 9. This configuration option only applies to the zlib compressor. When zlib is not one of the compressors enumerated by the `compressors` configuration option then providing this option has no meaning.
 
-1 == Default Compression (usually 6)
 0 == No compression
 1 == Best Speed
 9 == Best Compression
 
Note that this value only applies to the client side compression level, not the response.



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

Author:

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

Message: CDRIVER-2140 Add support for zlibCompressionLevel uri option
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/5311bbb7550276cfed05efc98681daab203d6d2b

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