aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server
diff options
context:
space:
mode:
authorUbitUmarov2015-11-23 23:10:02 +0000
committerUbitUmarov2015-11-23 23:10:02 +0000
commit9d8fe7f3db2e90fa91c39ee9b0bd76859beb1412 (patch)
tree5b805621a5451644d0b94ceb01245107e03819bd /OpenSim/Server
parent remove libomv detection/log from llLoginService (diff)
downloadopensim-SC-9d8fe7f3db2e90fa91c39ee9b0bd76859beb1412.zip
opensim-SC-9d8fe7f3db2e90fa91c39ee9b0bd76859beb1412.tar.gz
opensim-SC-9d8fe7f3db2e90fa91c39ee9b0bd76859beb1412.tar.bz2
opensim-SC-9d8fe7f3db2e90fa91c39ee9b0bd76859beb1412.tar.xz
revert previus commit
Diffstat (limited to 'OpenSim/Server')
-rw-r--r--OpenSim/Server/Handlers/Login/LLLoginHandlers.cs14
1 files changed, 10 insertions, 4 deletions
diff --git a/OpenSim/Server/Handlers/Login/LLLoginHandlers.cs b/OpenSim/Server/Handlers/Login/LLLoginHandlers.cs
index b8788ac..5d672c3 100644
--- a/OpenSim/Server/Handlers/Login/LLLoginHandlers.cs
+++ b/OpenSim/Server/Handlers/Login/LLLoginHandlers.cs
@@ -132,12 +132,18 @@ namespace OpenSim.Server.Handlers.Login
132 132
133 //m_log.InfoFormat("[LOGIN]: XMLRPC Login Requested for {0} {1}, starting in {2}, using {3}", first, last, startLocation, clientVersion); 133 //m_log.InfoFormat("[LOGIN]: XMLRPC Login Requested for {0} {1}, starting in {2}, using {3}", first, last, startLocation, clientVersion);
134 134
135
136 bool LibOMVclient = false;
137 if (request.Params.Count > 4 && (string)request.Params[4] == "gridproxy")
138 LibOMVclient = true;
139
135 LoginResponse reply = null; 140 LoginResponse reply = null;
136 reply = m_LocalService.Login(first, last, passwd, startLocation, scopeID, clientVersion, channel, mac, id0, remoteClient); 141 reply = m_LocalService.Login(first, last, passwd, startLocation, scopeID, clientVersion, channel, mac, id0, remoteClient, LibOMVclient);
137 142
138 XmlRpcResponse response = new XmlRpcResponse(); 143 XmlRpcResponse response = new XmlRpcResponse();
139 response.Value = reply.ToHashtable(); 144 response.Value = reply.ToHashtable();
140 return response; 145 return response;
146
141 } 147 }
142 } 148 }
143 149
@@ -215,7 +221,7 @@ namespace OpenSim.Server.Handlers.Login
215 221
216 LoginResponse reply = null; 222 LoginResponse reply = null;
217 reply = m_LocalService.Login(map["first"].AsString(), map["last"].AsString(), map["passwd"].AsString(), startLocation, scopeID, 223 reply = m_LocalService.Login(map["first"].AsString(), map["last"].AsString(), map["passwd"].AsString(), startLocation, scopeID,
218 map["version"].AsString(), map["channel"].AsString(), map["mac"].AsString(), map["id0"].AsString(), remoteClient); 224 map["version"].AsString(), map["channel"].AsString(), map["mac"].AsString(), map["id0"].AsString(), remoteClient,false);
219 return reply.ToOSDMap(); 225 return reply.ToOSDMap();
220 226
221 } 227 }
@@ -257,8 +263,8 @@ namespace OpenSim.Server.Handlers.Login
257 IPEndPoint endPoint = 263 IPEndPoint endPoint =
258 (sender as WebSocketHttpServerHandler).GetRemoteIPEndpoint(); 264 (sender as WebSocketHttpServerHandler).GetRemoteIPEndpoint();
259 LoginResponse reply = null; 265 LoginResponse reply = null;
260 reply = m_LocalService.Login(first, last, passwd, start, scope, 266 reply = m_LocalService.Login(first, last, passwd, start, scope, version,
261 version, channel, mac, id0, endPoint); 267 channel, mac, id0, endPoint,false);
262 sock.SendMessage(OSDParser.SerializeJsonString(reply.ToOSDMap())); 268 sock.SendMessage(OSDParser.SerializeJsonString(reply.ToOSDMap()));
263 269
264 } 270 }