You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Roger Meier (JIRA)" <ji...@apache.org> on 2013/07/19 23:30:49 UTC

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

     [ https://issues.apache.org/jira/browse/THRIFT-2093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roger Meier resolved THRIFT-2093.
---------------------------------

    Resolution: Fixed

thanks Randy!
                
> 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