Closed
Description
see dotnet/corefx#40777 first
forgot to fix for Ex.Stop ? or I'm wrong
and second question.
Request with status code 401(Unauthorized) can be autoredirected, which leads to the execution of the second request on the same object HttpWebRequest.
If this happens we have the following chain of events:
- System.Net.Http.Desktop.HttpRequestOut.Start
- System.Net.Http.Desktop.HttpRequestOut.Ex.Stop (got 401)
- System.Net.Http.Desktop.HttpRequestOut.Stop (success)
it's a bit strange... hardly anyone expects to get Stop and Stop.Ex for one request.