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

Rajat Goel updated THRIFT-756:
------------------------------

    Attachment: patch

It does it for C++ atleast.

> Exposing TSocket(int) constructor to public
> -------------------------------------------
>
>                 Key: THRIFT-756
>                 URL: https://issues.apache.org/jira/browse/THRIFT-756
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Library (C++)
>         Environment: Any of these
>            Reporter: Rajat Goel
>            Priority: Trivial
>         Attachments: patch
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> In few situations user would like to pass a open socket directly to TSocket 
> for construction. For example when we are behind proxy, letting library 
> create a socket connection would result in 'connection refused' but if he can 
> open a connection, negotiate with proxy server using CONNECT and then he can 
> create TSocket from this.
> I required this small change in C++ and thus made a small patch with very few 
> changes. The code compiles and make test says "All 7 tests passed".

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to