Skip to content
This repository has been archived by the owner on Dec 18, 2018. It is now read-only.

Switch back to libuv as the default transport #2257

Merged
merged 2 commits into from
Jan 19, 2018
Merged

Switch back to libuv as the default transport #2257

merged 2 commits into from
Jan 19, 2018

Conversation

halter73
Copy link
Member

@halter73 halter73 requested review from davidfowl and pakrym January 16, 2018 22:50
@@ -30,7 +28,7 @@ public static IWebHostBuilder UseKestrel(this IWebHostBuilder hostBuilder)
return hostBuilder.ConfigureServices(services =>
{
// Don't override an already-configured transport
services.TryAddSingleton<ITransportFactory, SocketTransportFactory>();
services.AddSingleton<ITransportFactory, LibuvTransportFactory>();
Copy link
Contributor

Choose a reason for hiding this comment

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

Either comment is wrong or you shouldn't use AddSingleton

@halter73
Copy link
Member Author

@pakrym updated

Copy link
Contributor

@pakrym pakrym left a comment

Choose a reason for hiding this comment

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

I would split test methods into two but it's a matter of taste. LGTM

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants