Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.9, 0.9.1
-
Patch Available
Description
A following exception may be occasionally thrown by the current c# thrift driver:
message=Cannot access a disposed object.
Object name: 'System.Net.Sockets.Socket'.
stack=
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.Sockets.TcpClient.EndConnect(IAsyncResult asyncResult)
at Thrift.Transport.TSocket.ConnectCallback(IAsyncResult asyncres) in d:\BDA-experiments\thrift-0.9.1\lib\csharp\src\Transport\TSocket.cs:line 177
All exceptions should be caught and handled in the Thrift.Transport.TSocket.ConnectCallback and all other callbacks.
proposed fix:
https://github.com/apache/thrift/pull/79
Attachments
Issue Links
- is duplicated by
-
THRIFT-2719 ObjectDisposedException in TSocket when sending rapidly
- Closed