mirror of
https://github.com/mxpv/podsync.git
synced 2024-05-11 05:55:04 +00:00
Add temporary workaround for Error -4047 EPIPE broken pipe
This commit is contained in:
@@ -8,7 +8,15 @@ namespace Podsync
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseKestrel(options => options.AddServerHeader = false)
|
||||
.UseKestrel(options =>
|
||||
{
|
||||
options.AddServerHeader = false;
|
||||
|
||||
// Temporary workaround for Error -4047 EPIPE broken pipe
|
||||
// Remove this after upgrade to 1.1.0
|
||||
// See https://github.com/aspnet/KestrelHttpServer/issues/1182
|
||||
options.ThreadCount = 1;
|
||||
})
|
||||
.UseContentRoot(Directory.GetCurrentDirectory())
|
||||
.UseIISIntegration()
|
||||
.UseStartup<Startup>()
|
||||
|
||||
Reference in New Issue
Block a user