Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-2093

added the ability to set compression level in C++ zlib transport

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.0
    • Component/s: C++ - Library
    • Labels:
      None
    • Environment:

      All

    • Patch Info:
      Patch Available

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              codesf Randy Abernethy
              Reporter:
              codesf Randy Abernethy
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: