diff options
author | Melanie | 2012-10-16 04:30:01 +0100 |
---|---|---|
committer | Melanie | 2012-10-16 04:30:01 +0100 |
commit | fa52effb279355ef731725c04c3b659f972f3903 (patch) | |
tree | 7d9029b0ded43814206112d5e5b2115b9b463fc7 /OpenSim/Region/ClientStack | |
parent | Fix a merge issue (diff) | |
parent | minor: Comment out log message on every FRIENDS SIM CONNECTOR request for now. (diff) | |
download | opensim-SC_OLD-fa52effb279355ef731725c04c3b659f972f3903.zip opensim-SC_OLD-fa52effb279355ef731725c04c3b659f972f3903.tar.gz opensim-SC_OLD-fa52effb279355ef731725c04c3b659f972f3903.tar.bz2 opensim-SC_OLD-fa52effb279355ef731725c04c3b659f972f3903.tar.xz |
Merge branch 'master' into careminster
Conflicts:
OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
OpenSim/Services/Connectors/Friends/FriendsSimConnector.cs
Diffstat (limited to 'OpenSim/Region/ClientStack')
4 files changed, 24 insertions, 11 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs index c705f10..f509d94 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs | |||
@@ -241,8 +241,8 @@ namespace OpenSim.Region.ClientStack.Linden | |||
241 | m_HostCapsObj.RegisterHandler( | 241 | m_HostCapsObj.RegisterHandler( |
242 | "SEED", new RestStreamHandler("POST", capsBase + m_requestPath, SeedCapRequest, "SEED", null)); | 242 | "SEED", new RestStreamHandler("POST", capsBase + m_requestPath, SeedCapRequest, "SEED", null)); |
243 | 243 | ||
244 | m_log.DebugFormat( | 244 | // m_log.DebugFormat( |
245 | "[CAPS]: Registered seed capability {0} for {1}", capsBase + m_requestPath, m_HostCapsObj.AgentID); | 245 | // "[CAPS]: Registered seed capability {0} for {1}", capsBase + m_requestPath, m_HostCapsObj.AgentID); |
246 | 246 | ||
247 | //m_capsHandlers["MapLayer"] = | 247 | //m_capsHandlers["MapLayer"] = |
248 | // new LLSDStreamhandler<OSDMapRequest, OSDMapLayerResponse>("POST", | 248 | // new LLSDStreamhandler<OSDMapRequest, OSDMapLayerResponse>("POST", |
@@ -337,11 +337,12 @@ namespace OpenSim.Region.ClientStack.Linden | |||
337 | public string SeedCapRequest(string request, string path, string param, | 337 | public string SeedCapRequest(string request, string path, string param, |
338 | IOSHttpRequest httpRequest, IOSHttpResponse httpResponse) | 338 | IOSHttpRequest httpRequest, IOSHttpResponse httpResponse) |
339 | { | 339 | { |
340 | // m_log.Debug("[CAPS]: Seed Caps Request in region: " + m_regionName); | 340 | m_log.DebugFormat( |
341 | "[CAPS]: Received SEED caps request in {0} for agent {1}", m_regionName, m_HostCapsObj.AgentID); | ||
341 | 342 | ||
342 | if (!m_Scene.CheckClient(m_HostCapsObj.AgentID, httpRequest.RemoteIPEndPoint)) | 343 | if (!m_Scene.CheckClient(m_HostCapsObj.AgentID, httpRequest.RemoteIPEndPoint)) |
343 | { | 344 | { |
344 | m_log.DebugFormat( | 345 | m_log.WarnFormat( |
345 | "[CAPS]: Unauthorized CAPS client {0} from {1}", | 346 | "[CAPS]: Unauthorized CAPS client {0} from {1}", |
346 | m_HostCapsObj.AgentID, httpRequest.RemoteIPEndPoint); | 347 | m_HostCapsObj.AgentID, httpRequest.RemoteIPEndPoint); |
347 | 348 | ||
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs index 132546b..5bbdce8 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs | |||
@@ -111,10 +111,10 @@ namespace OpenSim.Region.ClientStack.Linden | |||
111 | false, | 111 | false, |
112 | "debug eq", | 112 | "debug eq", |
113 | "debug eq [0|1|2]", | 113 | "debug eq [0|1|2]", |
114 | "Turn on event queue debugging" | 114 | "Turn on event queue debugging\n" |
115 | + "<= 0 - turns off all event queue logging" | 115 | + " <= 0 - turns off all event queue logging\n" |
116 | + ">= 1 - turns on outgoing event logging" | 116 | + " >= 1 - turns on outgoing event logging\n" |
117 | + ">= 2 - turns on poll notification", | 117 | + " >= 2 - turns on poll notification", |
118 | HandleDebugEq); | 118 | HandleDebugEq); |
119 | } | 119 | } |
120 | else | 120 | else |
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/RegionConsoleModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/RegionConsoleModule.cs index 413536d..bac71b0 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/RegionConsoleModule.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/RegionConsoleModule.cs | |||
@@ -109,7 +109,7 @@ namespace OpenSim.Region.ClientStack.Linden | |||
109 | 109 | ||
110 | UUID capID = UUID.Random(); | 110 | UUID capID = UUID.Random(); |
111 | 111 | ||
112 | m_log.DebugFormat("[REGION CONSOLE]: /CAPS/{0} in region {1}", capID, m_scene.RegionInfo.RegionName); | 112 | // m_log.DebugFormat("[REGION CONSOLE]: /CAPS/{0} in region {1}", capID, m_scene.RegionInfo.RegionName); |
113 | caps.RegisterHandler( | 113 | caps.RegisterHandler( |
114 | "SimConsoleAsync", | 114 | "SimConsoleAsync", |
115 | new ConsoleHandler("/CAPS/" + capID + "/", "SimConsoleAsync", agentID, this, m_scene)); | 115 | new ConsoleHandler("/CAPS/" + capID + "/", "SimConsoleAsync", agentID, this, m_scene)); |
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index d04bd96..7686b94 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -9251,7 +9251,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
9251 | } | 9251 | } |
9252 | #endregion | 9252 | #endregion |
9253 | 9253 | ||
9254 | switch (Utils.BytesToString(messagePacket.MethodData.Method)) | 9254 | string method = Utils.BytesToString(messagePacket.MethodData.Method); |
9255 | |||
9256 | switch (method) | ||
9255 | { | 9257 | { |
9256 | case "getinfo": | 9258 | case "getinfo": |
9257 | if (((Scene)m_scene).Permissions.CanIssueEstateCommand(AgentId, false)) | 9259 | if (((Scene)m_scene).Permissions.CanIssueEstateCommand(AgentId, false)) |
@@ -9567,7 +9569,17 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
9567 | return true; | 9569 | return true; |
9568 | 9570 | ||
9569 | default: | 9571 | default: |
9570 | m_log.Error("EstateOwnerMessage: Unknown method requested\n" + messagePacket); | 9572 | m_log.WarnFormat( |
9573 | "[LLCLIENTVIEW]: EstateOwnerMessage: Unknown method {0} requested for {1} in {2}", | ||
9574 | method, Name, Scene.Name); | ||
9575 | |||
9576 | for (int i = 0; i < messagePacket.ParamList.Length; i++) | ||
9577 | { | ||
9578 | EstateOwnerMessagePacket.ParamListBlock block = messagePacket.ParamList[i]; | ||
9579 | string data = (string)Utils.BytesToString(block.Parameter); | ||
9580 | m_log.DebugFormat("[LLCLIENTVIEW]: Param {0}={1}", i, data); | ||
9581 | } | ||
9582 | |||
9571 | return true; | 9583 | return true; |
9572 | } | 9584 | } |
9573 | 9585 | ||