diff --git a/Tesses.WebServer.NetStandard/Tesses.WebServer.NetStandard.csproj b/Tesses.WebServer.NetStandard/Tesses.WebServer.NetStandard.csproj index f91745e..519120a 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.0 - 1.0.3.0 - 1.0.3.0 + 1.0.3.1 + 1.0.3.1 + 1.0.3.1 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 68ff86a..8fa8ee3 100644 --- a/Tesses.WebServer.NetStandard/TessesServer.cs +++ b/Tesses.WebServer.NetStandard/TessesServer.cs @@ -872,8 +872,13 @@ namespace Tesses.WebServer using (var r = token.Register(() => _listener.Stop())) { while (!token.IsCancellationRequested) { + try{ var socket=await _listener.AcceptTcpClientAsync(); await CommunicateHostAsync(socket).ConfigureAwait(false); + }catch(Exception ex) + { + _=ex; + } } } }