Commit fe1fac01 authored by justcoding121's avatar justcoding121

disable connection pool for win authenticated streams

parent 8d8616d8
......@@ -259,7 +259,9 @@ namespace Titanium.Web.Proxy
//Get/release server connection for each HTTP session instead of per client connection.
//This will be more efficient especially when client is idly holding server connection
//between sessions without using it.
if (EnableConnectionPool)
//Do not release authenticated connections for performance reasons.
//Otherwise it will keep authenticating per session.
if (EnableConnectionPool && !connection.IsWinAuthenticated)
{
await tcpConnectionFactory.Release(connection);
connection = 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