try catching some exceptions
This commit is contained in:
parent
2aed769ac7
commit
9218a90d49
|
@ -5,9 +5,9 @@
|
||||||
<PackageId>Tesses.WebServer</PackageId>
|
<PackageId>Tesses.WebServer</PackageId>
|
||||||
<Author>Mike Nolan</Author>
|
<Author>Mike Nolan</Author>
|
||||||
<Company>Tesses</Company>
|
<Company>Tesses</Company>
|
||||||
<Version>1.0.3.1</Version>
|
<Version>1.0.3.2</Version>
|
||||||
<AssemblyVersion>1.0.3.1</AssemblyVersion>
|
<AssemblyVersion>1.0.3.2</AssemblyVersion>
|
||||||
<FileVersion>1.0.3.1</FileVersion>
|
<FileVersion>1.0.3.2</FileVersion>
|
||||||
<Description>A TCP Listener HTTP(s) Server</Description>
|
<Description>A TCP Listener HTTP(s) Server</Description>
|
||||||
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
||||||
<PackageTags>HTTP, WebServer, Website</PackageTags>
|
<PackageTags>HTTP, WebServer, Website</PackageTags>
|
||||||
|
|
|
@ -942,6 +942,7 @@ namespace Tesses.WebServer
|
||||||
}
|
}
|
||||||
private async Task CommunicateHostAsync(TcpClient clt)
|
private async Task CommunicateHostAsync(TcpClient clt)
|
||||||
{
|
{
|
||||||
|
try{
|
||||||
//<METHOD> <PATH> HTTP/1.1\r\n
|
//<METHOD> <PATH> HTTP/1.1\r\n
|
||||||
//HEADER1\r\n
|
//HEADER1\r\n
|
||||||
//HEADER2\r\n
|
//HEADER2\r\n
|
||||||
|
@ -1007,7 +1008,10 @@ namespace Tesses.WebServer
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
}catch(Exception ex)
|
||||||
|
{
|
||||||
|
_=ex;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue