Skip to content
This repository was archived by the owner on Jul 9, 2023. It is now read-only.

Commit 1430edb

Browse files
committed
Update connection pool doc
1 parent 4c2f2c0 commit 1430edb

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/Titanium.Web.Proxy/ProxyServer.cs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,12 @@ public ProxyServer(string? rootCertificateName, string? rootCertificateIssuerNam
167167
public bool Enable100ContinueBehaviour { get; set; }
168168

169169
/// <summary>
170-
/// Should we enable experimental server connection pool?
171-
/// Defaults to true.
170+
/// Should we enable server connection pool. Defaults to true.
171+
/// When you enable connection pooling, instead of creating a new TCP connection to server for each client TCP connection,
172+
/// we check if a server connection is available in our cached pool. If it is available in our pool,
173+
/// created from earlier requests to the same server, we will reuse those idle connections.
174+
/// There is also a ConnectionTimeOutSeconds parameter, which determine the eviction time for inactive server connections.
175+
/// This will help to reduce TCP connection establishment cost, both the wall clock time and CPU cycles.
172176
/// </summary>
173177
public bool EnableConnectionPool { get; set; } = true;
174178

0 commit comments

Comments
 (0)