David George created THRIFT-3766: ------------------------------------ Summary: 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 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.3.4#6332)