mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
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 531edd51d8.
This commit is contained in:
@@ -110,7 +110,6 @@ namespace OpenSim.Region.CoreModules.World.Archiver
|
||||
|
||||
request.ContentLength = 0;
|
||||
request.KeepAlive = false;
|
||||
request.Proxy = null;
|
||||
|
||||
WebResponse response = request.GetResponse();
|
||||
Stream file = response.GetResponseStream();
|
||||
|
||||
@@ -352,7 +352,6 @@ namespace OpenSim.Region.CoreModules.World.Terrain
|
||||
|
||||
request.ContentLength = 0;
|
||||
request.KeepAlive = false;
|
||||
request.Proxy = null;
|
||||
|
||||
WebResponse response = request.GetResponse();
|
||||
Stream file = response.GetResponseStream();
|
||||
|
||||
@@ -819,7 +819,6 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
|
||||
|
||||
mapitemsrequest.Method = "POST";
|
||||
mapitemsrequest.ContentType = "application/xml+llsd";
|
||||
mapitemsrequest.Proxy = null;
|
||||
OSDMap RAMap = new OSDMap();
|
||||
|
||||
// string RAMapString = RAMap.ToString();
|
||||
|
||||
Reference in New Issue
Block a user