diff options
author | Diva Canto | 2012-09-30 07:48:03 -0700 |
---|---|---|
committer | Diva Canto | 2012-09-30 07:48:03 -0700 |
commit | 91a5c602e313b96ffaf1d50b7f0d2923a2e141ba (patch) | |
tree | 3c76fe34e863fa990c6da0f72d8350c7476cf1e4 /OpenSim/Framework/Configuration/HTTP/HTTPConfiguration.cs | |
parent | Added request.Proxy=null everywhere, as discussed in http://stackoverflow.com... (diff) | |
download | opensim-SC_OLD-91a5c602e313b96ffaf1d50b7f0d2923a2e141ba.zip opensim-SC_OLD-91a5c602e313b96ffaf1d50b7f0d2923a2e141ba.tar.gz opensim-SC_OLD-91a5c602e313b96ffaf1d50b7f0d2923a2e141ba.tar.bz2 opensim-SC_OLD-91a5c602e313b96ffaf1d50b7f0d2923a2e141ba.tar.xz |
Revert "Added request.Proxy=null everywhere, as discussed in http://stackoverflow.com/questions/2519655/httpwebrequest-is-extremely-slow."
But the patch is here, in case anyone wants to try it.
This reverts commit 531edd51d82ecd6a842a2611c99e9919634491ef.
Diffstat (limited to 'OpenSim/Framework/Configuration/HTTP/HTTPConfiguration.cs')
-rw-r--r-- | OpenSim/Framework/Configuration/HTTP/HTTPConfiguration.cs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/OpenSim/Framework/Configuration/HTTP/HTTPConfiguration.cs b/OpenSim/Framework/Configuration/HTTP/HTTPConfiguration.cs index 7aaf776..3dce578 100644 --- a/OpenSim/Framework/Configuration/HTTP/HTTPConfiguration.cs +++ b/OpenSim/Framework/Configuration/HTTP/HTTPConfiguration.cs | |||
@@ -65,7 +65,6 @@ namespace OpenSim.Framework.Configuration.HTTP | |||
65 | byte[] buf = new byte[8192]; | 65 | byte[] buf = new byte[8192]; |
66 | HttpWebRequest request = | 66 | HttpWebRequest request = |
67 | (HttpWebRequest) WebRequest.Create(remoteConfigSettings.baseConfigURL + configFileName); | 67 | (HttpWebRequest) WebRequest.Create(remoteConfigSettings.baseConfigURL + configFileName); |
68 | request.Proxy = null; | ||
69 | HttpWebResponse response = (HttpWebResponse) request.GetResponse(); | 68 | HttpWebResponse response = (HttpWebResponse) request.GetResponse(); |
70 | 69 | ||
71 | Stream resStream = response.GetResponseStream(); | 70 | Stream resStream = response.GetResponseStream(); |