[ 
https://issues.apache.org/jira/browse/THRIFT-3766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David George updated THRIFT-3766:
---------------------------------
    Attachment: zlib_getUnderlyingTransport.diff

attached patch

> 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)

Reply via email to