[ https://issues.apache.org/jira/browse/THRIFT-1260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rush Manbert updated THRIFT-1260: --------------------------------- Attachment: thrift-fix-csharp-http-client-hang.patch We got the same error using the latest code from the Git repository a few weeks ago. In his test we opened a client, then started making server calls using the same client. After a few calls it hung. The person who saw the problem found this stackoverflow post that is relevant: http://stackoverflow.com/questions/2242866/httpwebrequest-timeout-hangs-help I have attached the patch file for the fix. > The thrift THttpclient in c# client is not closing the connections when > calling SendRequest > ------------------------------------------------------------------------------------------- > > Key: THRIFT-1260 > URL: https://issues.apache.org/jira/browse/THRIFT-1260 > Project: Thrift > Issue Type: Bug > Components: C# - Library > Affects Versions: 0.7 > Reporter: Guy Manella > Priority: Minor > Labels: httpclient, stream > Attachments: THttpClient.cs, thrift-fix-csharp-http-client-hang.patch > > > When calling the server more than 16000 times, an exception is being thrown - > "An operation on a socket could not be performed because the system lacked > sufficient buffer space or because a queue was full" its because the stream > is not being closed. -- This message was sent by Atlassian JIRA (v6.2#6252)