Hopefully support multiple simultaneous connections
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user