Skip to content

Commit

Permalink
Fix issue with https binding .net core 3.0 #1283 (#1286)
Browse files Browse the repository at this point in the history
commenting out Kestrel listenOptions.NoDelay b/c:
1. the default value = true
2. it was removed in .net core 3.0 and this can be configured in SocketTransportOptions

fixes #1283
  • Loading branch information
luber committed Feb 15, 2021
1 parent 4180fd8 commit 61eede8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ public void Start()
httpsOptions.SslProtocols = SslProtocols.Tls | SslProtocols.Tls11 | SslProtocols.Tls12;
m_hostBuilder.UseKestrel(options => {
options.Listen(IPAddress.Any, m_uri.Port, listenOptions => {
listenOptions.NoDelay = true;
// listenOptions.NoDelay = true;
listenOptions.UseHttps(httpsOptions);
});
});
Expand Down

0 comments on commit 61eede8

Please sign in to comment.