Commit fe9795f
committed
Reset the SocketAsyncEventArgs.in_progress flag after failure
When a DNS error occurs the flag needs to be reset before the Args
object is put back in the queue for reuse. Failure to do so causes an
"Operation already in progress" exception on a future request.
Fixes Bee.Stevedore.Program.Tests.StevedoreTelemetryTests.SendOutbox_GoodServer_EventsSentInSingleBatch
in Unity1 parent 400643d commit fe9795f
File tree
1 file changed
+20
-2
lines changed- mcs/class/referencesource/System/net/System/Net/Sockets
1 file changed
+20
-2
lines changedLines changed: 20 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7782 | 7782 | | |
7783 | 7783 | | |
7784 | 7784 | | |
7785 | | - | |
| 7785 | + | |
| 7786 | + | |
| 7787 | + | |
| 7788 | + | |
| 7789 | + | |
| 7790 | + | |
| 7791 | + | |
| 7792 | + | |
| 7793 | + | |
| 7794 | + | |
7786 | 7795 | | |
7787 | 7796 | | |
7788 | 7797 | | |
| |||
7880 | 7889 | | |
7881 | 7890 | | |
7882 | 7891 | | |
7883 | | - | |
| 7892 | + | |
| 7893 | + | |
| 7894 | + | |
| 7895 | + | |
| 7896 | + | |
| 7897 | + | |
| 7898 | + | |
| 7899 | + | |
| 7900 | + | |
| 7901 | + | |
7884 | 7902 | | |
7885 | 7903 | | |
7886 | 7904 | | |
| |||
0 commit comments