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

Commit 6e40717

Browse files
committed
Disable connect pool by default.
1 parent 1e9d602 commit 6e40717

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Titanium.Web.Proxy/ProxyServer.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -167,14 +167,14 @@ public ProxyServer(string? rootCertificateName, string? rootCertificateIssuerNam
167167
public bool Enable100ContinueBehaviour { get; set; }
168168

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

179179
/// <summary>
180180
/// Should we enable tcp server connection prefetching?

0 commit comments

Comments
 (0)