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/Services/Connectors/Hypergrid | |
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/Services/Connectors/Hypergrid')
-rw-r--r-- | OpenSim/Services/Connectors/Hypergrid/HeloServicesConnector.cs | 1 | ||||
-rw-r--r-- | OpenSim/Services/Connectors/Hypergrid/UserAgentServiceConnector.cs | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/OpenSim/Services/Connectors/Hypergrid/HeloServicesConnector.cs b/OpenSim/Services/Connectors/Hypergrid/HeloServicesConnector.cs index 089e878..5c50936 100644 --- a/OpenSim/Services/Connectors/Hypergrid/HeloServicesConnector.cs +++ b/OpenSim/Services/Connectors/Hypergrid/HeloServicesConnector.cs | |||
@@ -77,7 +77,6 @@ namespace OpenSim.Services.Connectors | |||
77 | public virtual string Helo() | 77 | public virtual string Helo() |
78 | { | 78 | { |
79 | HttpWebRequest req = (HttpWebRequest)HttpWebRequest.Create(m_ServerURI); | 79 | HttpWebRequest req = (HttpWebRequest)HttpWebRequest.Create(m_ServerURI); |
80 | req.Proxy = null; | ||
81 | // Eventually we need to switch to HEAD | 80 | // Eventually we need to switch to HEAD |
82 | /* req.Method = "HEAD"; */ | 81 | /* req.Method = "HEAD"; */ |
83 | 82 | ||
diff --git a/OpenSim/Services/Connectors/Hypergrid/UserAgentServiceConnector.cs b/OpenSim/Services/Connectors/Hypergrid/UserAgentServiceConnector.cs index 8cd2daa..2f263ae 100644 --- a/OpenSim/Services/Connectors/Hypergrid/UserAgentServiceConnector.cs +++ b/OpenSim/Services/Connectors/Hypergrid/UserAgentServiceConnector.cs | |||
@@ -125,7 +125,6 @@ namespace OpenSim.Services.Connectors.Hypergrid | |||
125 | AgentCreateRequest.Method = "POST"; | 125 | AgentCreateRequest.Method = "POST"; |
126 | AgentCreateRequest.ContentType = "application/json"; | 126 | AgentCreateRequest.ContentType = "application/json"; |
127 | AgentCreateRequest.Timeout = 10000; | 127 | AgentCreateRequest.Timeout = 10000; |
128 | AgentCreateRequest.Proxy = null; | ||
129 | //AgentCreateRequest.KeepAlive = false; | 128 | //AgentCreateRequest.KeepAlive = false; |
130 | //AgentCreateRequest.Headers.Add("Authorization", authKey); | 129 | //AgentCreateRequest.Headers.Add("Authorization", authKey); |
131 | 130 | ||