This repository was archived by the owner on Jan 23, 2023. It is now read-only.
Commit ecbece3
authored
We had a minor optimization here, but there's a long-standing issue with Socket.ConnectAsync where it's leaving for finalization a socket when the connect with an IP address fails. It's more important to address that issue, and using DnsEndPoint does so (it's also the code we want, anyway).
1 parent 3fb2e82 commit ecbece3
File tree
1 file changed
+1
-3
lines changed- src/System.Net.Http/src/System/Net/Http/SocketsHttpHandler
1 file changed
+1
-3
lines changedLines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
59 | | - | |
| 57 | + | |
60 | 58 | | |
61 | 59 | | |
62 | 60 | | |
| |||
0 commit comments