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

Add getUnderlyingTransport() to TZlibTransport

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.11.0
    • C++ - Library
    • None
    • Patch Available
    • Patch

    Description

      I currently have a service using the Zlib transport. I noticed I couldn't get the client IP address as I could with TBufferedTransport using the getUnderlyingTransport() function.

      I have hacked my local builds by sticking the following:

      boost::shared_ptr<TTransport> getUnderlyingTransport() { return transport_; }
      

      in TZlibTransport.h which mirrors those in TBufferTransports.h.

      Attachments

        1. zlib_getUnderlyingTransport.diff
          0.6 kB
          David George

        Issue Links

          Activity

            People

              jking3 James E. King III
              david.george David George
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: