aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorUbitUmarov2019-08-07 17:39:17 +0100
committerUbitUmarov2019-08-07 17:39:17 +0100
commit21aa26d79607dfb2f84c9dc2692c0a0bb925afea (patch)
tree95304c255ebe6fab11e1257c74419e0b9b427f05 /OpenSim
parentpesty warning; btw thx LiruCookies for help on estateaccess cap viewer protocol (diff)
downloadopensim-SC-21aa26d79607dfb2f84c9dc2692c0a0bb925afea.zip
opensim-SC-21aa26d79607dfb2f84c9dc2692c0a0bb925afea.tar.gz
opensim-SC-21aa26d79607dfb2f84c9dc2692c0a0bb925afea.tar.bz2
opensim-SC-21aa26d79607dfb2f84c9dc2692c0a0bb925afea.tar.xz
cap EstateAccess: don't meed with keepAlive unless needed
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ClientStack/Linden/Caps/EstateAccess.cs14
1 files changed, 6 insertions, 8 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/EstateAccess.cs b/OpenSim/Region/ClientStack/Linden/Caps/EstateAccess.cs
index a9f9456..cd6cdef 100644
--- a/OpenSim/Region/ClientStack/Linden/Caps/EstateAccess.cs
+++ b/OpenSim/Region/ClientStack/Linden/Caps/EstateAccess.cs
@@ -140,18 +140,16 @@ namespace OpenSim.Region.ClientStack.Linden
140 public Hashtable ProcessRequest(Hashtable request, UUID AgentId, Caps cap) 140 public Hashtable ProcessRequest(Hashtable request, UUID AgentId, Caps cap)
141 { 141 {
142 Hashtable responsedata = new Hashtable(); 142 Hashtable responsedata = new Hashtable();
143 responsedata["int_response_code"] = 400; //501; //410; //404; 143 responsedata["int_response_code"] = 200; //501; //410; //404;
144 responsedata["content_type"] = "text/plain"; 144 responsedata["content_type"] = "text/plain";
145 responsedata["keepalive"] = false;
146 responsedata["str_response_string"] = "Request wasn't what was expected";
147 ScenePresence avatar;
148 145
146 ScenePresence avatar;
149 if (!m_scene.TryGetScenePresence(AgentId, out avatar)) 147 if (!m_scene.TryGetScenePresence(AgentId, out avatar))
148 {
149 responsedata["str_response_string"] = "<llsd><array /></llsd>"; ;
150 responsedata["keepalive"] = false;
150 return responsedata; 151 return responsedata;
151 152 }
152 responsedata["int_response_code"] = 200; //501; //410; //404;
153 responsedata["content_type"] = "text/plain";
154 responsedata["keepalive"] = true;
155 153
156 if (m_scene.RegionInfo == null 154 if (m_scene.RegionInfo == null
157 || m_scene.RegionInfo.EstateSettings == null 155 || m_scene.RegionInfo.EstateSettings == null