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/Framework/Servers/HttpServer/RestObjectPoster.cs | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC-531edd51d82ecd6a842a2611c99e9919634491ef.zip opensim-SC-531edd51d82ecd6a842a2611c99e9919634491ef.tar.gz opensim-SC-531edd51d82ecd6a842a2611c99e9919634491ef.tar.bz2 opensim-SC-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/Framework/Servers/HttpServer/RestObjectPoster.cs')
-rw-r--r-- | OpenSim/Framework/Servers/HttpServer/RestObjectPoster.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/RestObjectPoster.cs b/OpenSim/Framework/Servers/HttpServer/RestObjectPoster.cs index 48ced19..61161e3 100644 --- a/OpenSim/Framework/Servers/HttpServer/RestObjectPoster.cs +++ b/OpenSim/Framework/Servers/HttpServer/RestObjectPoster.cs | |||
@@ -50,6 +50,7 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
50 | 50 | ||
51 | WebRequest request = WebRequest.Create(requestUrl); | 51 | WebRequest request = WebRequest.Create(requestUrl); |
52 | request.Method = verb; | 52 | request.Method = verb; |
53 | request.Proxy = null; | ||
53 | request.ContentType = "text/xml"; | 54 | request.ContentType = "text/xml"; |
54 | 55 | ||
55 | MemoryStream buffer = new MemoryStream(); | 56 | MemoryStream buffer = new MemoryStream(); |