[
https://issues.apache.org/jira/browse/THRIFT-3766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16177118#comment-16177118
]
ASF GitHub Bot commented on THRIFT-3766:
----------------------------------------
Github user jeking3 commented on the issue:
https://github.com/apache/thrift/pull/1370
@Jens-G test?
> Add getUnderlyingTransport() to TZlibTransport
> ----------------------------------------------
>
> Key: THRIFT-3766
> URL: https://issues.apache.org/jira/browse/THRIFT-3766
> Project: Thrift
> Issue Type: Improvement
> Components: C++ - Library
> Reporter: David George
> Assignee: James E. King, III
> Priority: Minor
> Attachments: zlib_getUnderlyingTransport.diff
>
>
> 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:
> {noformat}
> boost::shared_ptr<TTransport> getUnderlyingTransport() { return transport_; }
> {noformat}
> in TZlibTransport.h which mirrors those in TBufferTransports.h.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)