[
https://issues.apache.org/jira/browse/THRIFT-3766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James E. King, III closed THRIFT-3766.
--------------------------------------
> 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
> Fix For: 0.11.0
>
> 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)