Commit 1707e4dd authored by justcoding121's avatar justcoding121

always close inside request handler to avoid releasing twice

parent 4485303b
......@@ -247,6 +247,7 @@ namespace Titanium.Web.Proxy
if (args.WebSession.ServerConnection == null)
{
closeServerConnection = true;
return;
}
......
......@@ -64,7 +64,6 @@ namespace Titanium.Web.Proxy
}
else
{
await tcpConnectionFactory.Release(args.WebSession.ServerConnection, true);
args.WebSession.ServerConnection = null;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment