You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Randy Abernethy (JIRA)" <ji...@apache.org> on 2013/07/18 12:52:48 UTC

[jira] [Created] (THRIFT-2093) added the ability to set compression level in C++ zlib transport

Randy Abernethy created THRIFT-2093:
---------------------------------------

             Summary: added the ability to set compression level in C++ zlib transport
                 Key: THRIFT-2093
                 URL: https://issues.apache.org/jira/browse/THRIFT-2093
             Project: Thrift
          Issue Type: Improvement
          Components: C++ - Library
    Affects Versions: 1.0
         Environment: All
            Reporter: Randy Abernethy
            Assignee: Randy Abernethy
            Priority: Minor
             Fix For: 1.0
         Attachments: 0002-added-the-ability-to-set-compression-level-in-zlib-t.patch

Currently the C++ TZlibTransport hard wires the compression level to default (6). The attached patch allows the compression level (0-9) to be set at construction. 

N.B. This patch removes a TZlibTransport constructor signature which has been unimplemented and private since 2010. The sig was left in the code to generate compiler errors if used, however it causes ambiguity with the sole operable constructor and was removed. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira