Commit 37d1d6a2 authored by Honfika's avatar Honfika

disable prefetch

parent 26a8ca93
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
<value>True</value> <value>True</value>
</setting> </setting>
<setting name="EnableTcpServerConnectionPrefetch" serializeAs="String"> <setting name="EnableTcpServerConnectionPrefetch" serializeAs="String">
<value>True</value> <value>False</value>
</setting> </setting>
<setting name="EnableWinAuth" serializeAs="String"> <setting name="EnableWinAuth" serializeAs="String">
<value>False</value> <value>False</value>
......
...@@ -95,7 +95,7 @@ namespace WindowsServiceExample.Properties ...@@ -95,7 +95,7 @@ namespace WindowsServiceExample.Properties
[global::System.Configuration.ApplicationScopedSettingAttribute()] [global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("True")] [global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool EnableTcpServerConnectionPrefetch public bool EnableTcpServerConnectionPrefetch
{ {
get get
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<Value Profile="(Default)">True</Value> <Value Profile="(Default)">True</Value>
</Setting> </Setting>
<Setting Name="EnableTcpServerConnectionPrefetch" Type="System.Boolean" Scope="Application"> <Setting Name="EnableTcpServerConnectionPrefetch" Type="System.Boolean" Scope="Application">
<Value Profile="(Default)">True</Value> <Value Profile="(Default)">False</Value>
</Setting> </Setting>
<Setting Name="EnableWinAuth" Type="System.Boolean" Scope="Application"> <Setting Name="EnableWinAuth" Type="System.Boolean" Scope="Application">
<Value Profile="(Default)">False</Value> <Value Profile="(Default)">False</Value>
......
...@@ -182,9 +182,9 @@ namespace Titanium.Web.Proxy ...@@ -182,9 +182,9 @@ namespace Titanium.Web.Proxy
/// corresponding server connection process using CONNECT hostname or SNI hostname on a separate task so that after parsing client request /// corresponding server connection process using CONNECT hostname or SNI hostname on a separate task so that after parsing client request
/// we will have the server connection immediately ready or in the process of getting ready. /// we will have the server connection immediately ready or in the process of getting ready.
/// If a server connection is available in cache then this prefetch task will immediately return with the available connection from cache. /// If a server connection is available in cache then this prefetch task will immediately return with the available connection from cache.
/// Defaults to true. /// Defaults to false.
/// </summary> /// </summary>
public bool EnableTcpServerConnectionPrefetch { get; set; } = true; public bool EnableTcpServerConnectionPrefetch { get; set; } = false;
/// <summary> /// <summary>
/// Gets or sets a Boolean value that specifies whether server and client stream Sockets are using the Nagle algorithm. /// Gets or sets a Boolean value that specifies whether server and client stream Sockets are using the Nagle algorithm.
......
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