Skip to content

Commit 3914901

Browse files
committed
fix #866 default disable proxy detection to false, either way the boolean is set can introduce an initial delay based on the users OS/network/proxy settings. This way atleast no special setting is necessary to introduce fiddler to listen to NESTs requests
1 parent e89f847 commit 3914901

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/Elasticsearch.Net/Connection/Configuration/ConnectionConfiguration.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public class ConnectionConfiguration<T> : IConnectionConfigurationValues, IHideO
8888
#endif
8989
bool IConnectionConfigurationValues.MetricsEnabled { get{ return _enableMetrics; } }
9090

91-
private bool _disableAutomaticProxyDetection = true;
91+
private bool _disableAutomaticProxyDetection = false;
9292
bool IConnectionConfigurationValues.DisableAutomaticProxyDetection { get { return _disableAutomaticProxyDetection; } }
9393

9494
private int _maximumAsyncConnections;

0 commit comments

Comments
 (0)