Inject W3C headers in netfx HTTP diagnostics hook (dotnet/corefx#35880)
authorLiudmila Molkova <lmolkova@microsoft.com>
Fri, 15 Mar 2019 22:43:24 +0000 (15:43 -0700)
committerGitHub <noreply@github.com>
Fri, 15 Mar 2019 22:43:24 +0000 (15:43 -0700)
commit87ebafd667839b124990b274581243a38cfa926a
tree4923438b1085935bda4a3b847baf549c1e1ebc0a
parentf1ea31a58dae74b41164708bed1e7c6496964703
Inject W3C  headers in netfx HTTP diagnostics hook (dotnet/corefx#35880)

* Inject W3C headers in Http Desktop hook

* do not inject headers if they were injected before

* check that w3c headers are empty when format is Hierarchical

* review comments

Commit migrated from https://github.com/dotnet/corefx/commit/dee28e27e55251bb01680949105d18f5d6876bc3
src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/HttpHandlerDiagnosticListener.cs
src/libraries/System.Diagnostics.DiagnosticSource/tests/ActivityTests.cs
src/libraries/System.Diagnostics.DiagnosticSource/tests/HttpHandlerDiagnosticListenerTests.cs