Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

Allow Deprecated and non-deprecated HTTP events simultaneously. #19659

Merged
merged 3 commits into from
May 11, 2017

Conversation

vancem
Copy link
Contributor

@vancem vancem commented May 11, 2017

Addresses #18762
Basically we always check if a client needs deprecated events (previously we checked only if new events were not enabled).
This allows clients to support both new and old events simultaneously.

@davidsh @lmolkova @avanderhoorn

Addresses https://github.com/dotnet/corefx/issues/18762
Basically we always check if a client needs deprecated events (previously we checked only if new events were not enabled).
This allows clients to support both new and old simultaneously.
@@ -129,7 +129,7 @@ internal static bool IsEnabled()
});
}
//if Activity events are disabled, try to write System.Net.Http.Response event (deprecated)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: please update comment here as well

@lmolkova
Copy link

Could you please also update guide? It mentions that events are mutually exclusive.

@vancem
Copy link
Contributor Author

vancem commented May 11, 2017

@dotnet-bot test Innerloop Tizen armel Debug Cross Build

@vancem
Copy link
Contributor Author

vancem commented May 11, 2017

@dotnet-bot test Innerloop Ubuntu14.04 arm Release Cross Build

@vancem vancem merged commit c082d21 into dotnet:master May 11, 2017
@karelz karelz modified the milestone: 2.0.0 May 13, 2017
@vancem vancem deleted the AllowDeprecatedAndNotDeprecated branch September 29, 2017 18:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants