Skip to content

Commit

Permalink
bugfix in TcpSocketClient
Browse files Browse the repository at this point in the history
  • Loading branch information
rdavisau committed Jan 14, 2016
1 parent 34f7b1b commit 7da79e5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Sockets/Sockets.Implementation.NET/TcpSocketClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ internal TcpSocketClient(TcpClient backingClient, int bufferSize)
else
canceller.Dispose();

if (okOrCancelled.IsFaulted)
throw okOrCancelled.Exception.InnerException;

InitializeWriteStream();

if (secure)
Expand Down

0 comments on commit 7da79e5

Please sign in to comment.