[ 
https://issues.apache.org/jira/browse/THRIFT-2032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13693420#comment-13693420
 ] 

Hudson commented on THRIFT-2032:
--------------------------------

Integrated in Thrift #752 (See [https://builds.apache.org/job/Thrift/752/])
    THRIFT-2032 C# client leaks sockets/handles (Revision 
102bca47f754d9c9ed6ce341c7f8f106bd2719d7)

     Result = SUCCESS
jensg : 
Files : 
* lib/csharp/src/Protocol/TProtocol.cs
* lib/csharp/src/Transport/TServerSocket.cs
* tutorial/csharp/CsharpClient/CsharpClient.cs
* compiler/cpp/src/generate/t_csharp_generator.cc

                
> C# client leaks sockets/handles
> -------------------------------
>
>                 Key: THRIFT-2032
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2032
>             Project: Thrift
>          Issue Type: Bug
>          Components: C# - Compiler, C# - Library
>    Affects Versions: 0.9
>            Reporter: Jens Geyer
>            Assignee: Jens Geyer
>             Fix For: 0.9.1
>
>         Attachments: THRIFT-2032-csharp-client-leaks-handles_v2.patch
>
>
> The C# client code does not correctly clean up the transport used, so the 
> programmer has to take care on his own about this. This may even lead to a 
> program hang in certain scenarios. Furthermore, the generated client should 
> support IDisposable.
> Note that in contrast, the server side handles this automatically without any 
> explicit manual coding.
> TODO:
>  * modify generated code to add IDisposable support 
>  * modify TProtocol to add IDisposable support 
>  * update the tutorial code accordingly

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to