Commit 79cdc5e9 authored by justcoding121's avatar justcoding121

prefetch is still leaking somewhere

parent 808ddab4
......@@ -155,7 +155,7 @@ namespace Titanium.Web.Proxy
//it could cause floating server connections when client exits
prefetchConnectionTask = getServerConnection(connectArgs, true,
null, false, CancellationToken.None);
try
{
sslStream = new SslStream(clientStream);
......@@ -254,7 +254,7 @@ namespace Titanium.Web.Proxy
{
await tcpConnectionFactory.Release(connection, true);
}
calledRequestHandler = true;
return;
}
}
......
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