You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Request with status code 401(Unauthorized) can be autoredirected, which leads to the execution of the second request on the same object HttpWebRequest (may be HttpRequestMessage too).
If this happens we have the following chain of events:
We won't be able to fix .NET Framework, unless it has high business impact. (just to set the expectation -- the bar for .NET Framework fixes is pretty high in general)
Triage: It will likely repro in .NET Core as well, we should think about it in our DiagnosticHandler changes in 6.0. We may decide it is by design potentially.
Note: the issue here is that DiagnosticHandler was wrapping the underlying handler and as such could never intercept redirects.
#55392 fixes that by moving DiagnosticHandler to the start of the chain so that any redirect flows through it again and can be instrumented.
With this, automatic redirects will light up in 6.0 like any other regular request.
Here from #38152
Request with status code 401(Unauthorized) can be autoredirected, which leads to the execution of the second request on the same object HttpWebRequest (may be HttpRequestMessage too).
If this happens we have the following chain of events:
it's a bit strange... hardly anyone expects to get Stop and Stop.Ex for one request.
The text was updated successfully, but these errors were encountered: