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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.10.0
    • C++ - Library
    • None
    • All

    • 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

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

            Dates

              Created:
              Updated:
              Resolved: