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

Add getUnderlyingTransport() to TZlibTransport

VotersStop watchingWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment