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/ConsoleClient/Requester.cs | |
parent | Added request.Proxy=null everywhere, as discussed in http://stackoverflow.com... (diff) | |
download | opensim-SC-91a5c602e313b96ffaf1d50b7f0d2923a2e141ba.zip opensim-SC-91a5c602e313b96ffaf1d50b7f0d2923a2e141ba.tar.gz opensim-SC-91a5c602e313b96ffaf1d50b7f0d2923a2e141ba.tar.bz2 opensim-SC-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/ConsoleClient/Requester.cs')
-rw-r--r-- | OpenSim/ConsoleClient/Requester.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/ConsoleClient/Requester.cs b/OpenSim/ConsoleClient/Requester.cs index 0952e58..aabb02c 100644 --- a/OpenSim/ConsoleClient/Requester.cs +++ b/OpenSim/ConsoleClient/Requester.cs | |||
@@ -46,8 +46,8 @@ namespace OpenSim.ConsoleClient | |||
46 | WebRequest request = WebRequest.Create(requestUrl); | 46 | WebRequest request = WebRequest.Create(requestUrl); |
47 | WebResponse response = null; | 47 | WebResponse response = null; |
48 | 48 | ||
49 | request.Proxy = null; | ||
50 | request.Method = "POST"; | 49 | request.Method = "POST"; |
50 | |||
51 | request.ContentType = "application/x-www-form-urlencoded"; | 51 | request.ContentType = "application/x-www-form-urlencoded"; |
52 | 52 | ||
53 | byte[] buffer = Encoding.ASCII.GetBytes(data); | 53 | byte[] buffer = Encoding.ASCII.GetBytes(data); |