diff --git a/Tesses.WebServer.NetStandard/Tesses.WebServer.NetStandard.csproj b/Tesses.WebServer.NetStandard/Tesses.WebServer.NetStandard.csproj index 76d2c02..aa0daf9 100644 --- a/Tesses.WebServer.NetStandard/Tesses.WebServer.NetStandard.csproj +++ b/Tesses.WebServer.NetStandard/Tesses.WebServer.NetStandard.csproj @@ -5,9 +5,9 @@ Tesses.WebServer Mike Nolan Tesses - 1.0.3.4 - 1.0.3.4 - 1.0.3.4 + 1.0.3.5 + 1.0.3.5 + 1.0.3.5 A TCP Listener HTTP(s) Server MIT HTTP, WebServer, Website diff --git a/Tesses.WebServer.NetStandard/TessesServer.cs b/Tesses.WebServer.NetStandard/TessesServer.cs index 9888ce8..17818ba 100644 --- a/Tesses.WebServer.NetStandard/TessesServer.cs +++ b/Tesses.WebServer.NetStandard/TessesServer.cs @@ -874,7 +874,15 @@ namespace Tesses.WebServer { try{ var socket=await _listener.AcceptTcpClientAsync(); - await CommunicateHostAsync(socket).ConfigureAwait(false); + Task.Factory.StartNew(async()=>{ + try{ + await CommunicateHostAsync(socket); + }catch(Exception ex) + { + _=ex; + } + }).Wait(0); + }catch(Exception ex) { _=ex;