diff options
author | Diva Canto | 2012-09-30 07:22:55 -0700 |
---|---|---|
committer | Diva Canto | 2012-09-30 07:22:55 -0700 |
commit | 531edd51d82ecd6a842a2611c99e9919634491ef (patch) | |
tree | 0e28069aa1b2278f91b9275f98db7990abb7d964 /OpenSim/Region/CoreModules/World | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC_OLD-531edd51d82ecd6a842a2611c99e9919634491ef.zip opensim-SC_OLD-531edd51d82ecd6a842a2611c99e9919634491ef.tar.gz opensim-SC_OLD-531edd51d82ecd6a842a2611c99e9919634491ef.tar.bz2 opensim-SC_OLD-531edd51d82ecd6a842a2611c99e9919634491ef.tar.xz |
Added request.Proxy=null everywhere, as discussed in http://stackoverflow.com/questions/2519655/httpwebrequest-is-extremely-slow.
Thanks R.Gunther (rigun@rigutech.nl) https://lists.berlios.de/pipermail/opensim-users/2012-September/010986.html
Diffstat (limited to 'OpenSim/Region/CoreModules/World')
3 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/World/Archiver/ArchiveHelpers.cs b/OpenSim/Region/CoreModules/World/Archiver/ArchiveHelpers.cs index c72acc3..ff8f119 100644 --- a/OpenSim/Region/CoreModules/World/Archiver/ArchiveHelpers.cs +++ b/OpenSim/Region/CoreModules/World/Archiver/ArchiveHelpers.cs | |||
@@ -110,6 +110,7 @@ namespace OpenSim.Region.CoreModules.World.Archiver | |||
110 | 110 | ||
111 | request.ContentLength = 0; | 111 | request.ContentLength = 0; |
112 | request.KeepAlive = false; | 112 | request.KeepAlive = false; |
113 | request.Proxy = null; | ||
113 | 114 | ||
114 | WebResponse response = request.GetResponse(); | 115 | WebResponse response = request.GetResponse(); |
115 | Stream file = response.GetResponseStream(); | 116 | Stream file = response.GetResponseStream(); |
diff --git a/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs b/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs index 4694b14..c70031f 100644 --- a/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs +++ b/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs | |||
@@ -352,6 +352,7 @@ namespace OpenSim.Region.CoreModules.World.Terrain | |||
352 | 352 | ||
353 | request.ContentLength = 0; | 353 | request.ContentLength = 0; |
354 | request.KeepAlive = false; | 354 | request.KeepAlive = false; |
355 | request.Proxy = null; | ||
355 | 356 | ||
356 | WebResponse response = request.GetResponse(); | 357 | WebResponse response = request.GetResponse(); |
357 | Stream file = response.GetResponseStream(); | 358 | Stream file = response.GetResponseStream(); |
diff --git a/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs b/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs index dfba3ff..0fdc5a8 100644 --- a/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs +++ b/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs | |||
@@ -819,6 +819,7 @@ namespace OpenSim.Region.CoreModules.World.WorldMap | |||
819 | 819 | ||
820 | mapitemsrequest.Method = "POST"; | 820 | mapitemsrequest.Method = "POST"; |
821 | mapitemsrequest.ContentType = "application/xml+llsd"; | 821 | mapitemsrequest.ContentType = "application/xml+llsd"; |
822 | mapitemsrequest.Proxy = null; | ||
822 | OSDMap RAMap = new OSDMap(); | 823 | OSDMap RAMap = new OSDMap(); |
823 | 824 | ||
824 | // string RAMapString = RAMap.ToString(); | 825 | // string RAMapString = RAMap.ToString(); |