Skip to content

Commit 99d375b

Browse files
Merge pull request #349 from jacobpovar/master
add configure await in tcp client adapter
2 parents 4bc8902 + e138d72 commit 99d375b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/client/RabbitMQ.Client/src/client/impl/TcpClientAdapter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public virtual async Task ConnectAsync(string host, int port)
3232
throw new ArgumentException("No ip address could be resolved for " + host);
3333
}
3434
#if CORECLR
35-
await sock.ConnectAsync(ep, port);
35+
await sock.ConnectAsync(ep, port).ConfigureAwait(false);
3636
#else
3737
sock.Connect(ep, port);
3838
await Task.FromResult(false);

0 commit comments

Comments
 (0)