HttpHandlerDiagnosticListener might emit HttpRequestOut.Start
2 times for certain hosts with ActivityIdFormat.W3C
#112792
Labels
Milestone
#112426 captures 2 test failures:
TestW3CHeadersTraceStateAndCorrelationContext
is a test bug to be fixed by #112753. However the testTestW3CHeaders
also fails on this assertion, which seems to be a product bug.The reason behind the failure is that when
HttpClient
is used (vsHttpWebRequest
)ActivityIdFormat.W3C
(vs the default Hierarchical format)http://corefx-net-http11.azurewebsites.net/Echo.ashx
but nothttp://example.com
)the event
System.Net.Http.Desktop.HttpRequestOut.Start
is emitted 2 times for the sameHttpWebRequest
. There are no multiple physical requests being sent. All 3 conditions have to be met.A minimal repro can be found here.
My guess is this bug has been around for a long time, and no user reported it, so I would assess the priority as low, but I'm letting the owners to triage.
Related: #38152
The text was updated successfully, but these errors were encountered: