diff options
author | Melanie Thielker | 2014-06-21 00:39:55 +0200 |
---|---|---|
committer | Melanie Thielker | 2014-06-21 00:39:55 +0200 |
commit | 159fcbf150b7da0e229b29aa7b94793484543d12 (patch) | |
tree | b8c0ff3b4c758a3fba8315b556c923ef4c02a185 /OpenSim/Server/Handlers/Hypergrid/UserAgentServerConnector.cs | |
parent | Merge commit '68c8633ba18f0a11cfc0ed04d1d0c7c59e6cec76' (diff) | |
parent | Merge branch 'master' into careminster (diff) | |
download | opensim-SC-159fcbf150b7da0e229b29aa7b94793484543d12.zip opensim-SC-159fcbf150b7da0e229b29aa7b94793484543d12.tar.gz opensim-SC-159fcbf150b7da0e229b29aa7b94793484543d12.tar.bz2 opensim-SC-159fcbf150b7da0e229b29aa7b94793484543d12.tar.xz |
Merge branch 'master' of ssh://3dhosting.de/var/git/careminster
Conflicts:
OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
Diffstat (limited to 'OpenSim/Server/Handlers/Hypergrid/UserAgentServerConnector.cs')
-rw-r--r-- | OpenSim/Server/Handlers/Hypergrid/UserAgentServerConnector.cs | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/OpenSim/Server/Handlers/Hypergrid/UserAgentServerConnector.cs b/OpenSim/Server/Handlers/Hypergrid/UserAgentServerConnector.cs index db62aaa..7137836 100644 --- a/OpenSim/Server/Handlers/Hypergrid/UserAgentServerConnector.cs +++ b/OpenSim/Server/Handlers/Hypergrid/UserAgentServerConnector.cs | |||
@@ -62,10 +62,15 @@ namespace OpenSim.Server.Handlers.Hypergrid | |||
62 | private bool m_VerifyCallers = false; | 62 | private bool m_VerifyCallers = false; |
63 | 63 | ||
64 | public UserAgentServerConnector(IConfigSource config, IHttpServer server) : | 64 | public UserAgentServerConnector(IConfigSource config, IHttpServer server) : |
65 | this(config, server, null) | 65 | this(config, server, (IFriendsSimConnector)null) |
66 | { | 66 | { |
67 | } | 67 | } |
68 | 68 | ||
69 | public UserAgentServerConnector(IConfigSource config, IHttpServer server, string configName) : | ||
70 | this(config, server) | ||
71 | { | ||
72 | } | ||
73 | |||
69 | public UserAgentServerConnector(IConfigSource config, IHttpServer server, IFriendsSimConnector friendsConnector) : | 74 | public UserAgentServerConnector(IConfigSource config, IHttpServer server, IFriendsSimConnector friendsConnector) : |
70 | base(config, server, String.Empty) | 75 | base(config, server, String.Empty) |
71 | { | 76 | { |
@@ -103,7 +108,7 @@ namespace OpenSim.Server.Handlers.Hypergrid | |||
103 | server.AddXmlRPCHandler("get_uui", GetUUI, false); | 108 | server.AddXmlRPCHandler("get_uui", GetUUI, false); |
104 | server.AddXmlRPCHandler("get_uuid", GetUUID, false); | 109 | server.AddXmlRPCHandler("get_uuid", GetUUID, false); |
105 | 110 | ||
106 | server.AddHTTPHandler("/homeagent/", new HomeAgentHandler(m_HomeUsersService, loginServerIP, proxy).Handler); | 111 | server.AddStreamHandler(new HomeAgentHandler(m_HomeUsersService, loginServerIP, proxy)); |
107 | } | 112 | } |
108 | 113 | ||
109 | public XmlRpcResponse GetHomeRegion(XmlRpcRequest request, IPEndPoint remoteClient) | 114 | public XmlRpcResponse GetHomeRegion(XmlRpcRequest request, IPEndPoint remoteClient) |
@@ -448,7 +453,6 @@ namespace OpenSim.Server.Handlers.Hypergrid | |||
448 | XmlRpcResponse response = new XmlRpcResponse(); | 453 | XmlRpcResponse response = new XmlRpcResponse(); |
449 | response.Value = hash; | 454 | response.Value = hash; |
450 | return response; | 455 | return response; |
451 | |||
452 | } | 456 | } |
453 | 457 | ||
454 | /// <summary> | 458 | /// <summary> |
@@ -466,9 +470,7 @@ namespace OpenSim.Server.Handlers.Hypergrid | |||
466 | //string portstr = (string)requestData["port"]; | 470 | //string portstr = (string)requestData["port"]; |
467 | if (requestData.ContainsKey("first") && requestData.ContainsKey("last")) | 471 | if (requestData.ContainsKey("first") && requestData.ContainsKey("last")) |
468 | { | 472 | { |
469 | UUID userID = UUID.Zero; | ||
470 | string first = (string)requestData["first"]; | 473 | string first = (string)requestData["first"]; |
471 | |||
472 | string last = (string)requestData["last"]; | 474 | string last = (string)requestData["last"]; |
473 | UUID uuid = m_HomeUsersService.GetUUID(first, last); | 475 | UUID uuid = m_HomeUsersService.GetUUID(first, last); |
474 | hash["UUID"] = uuid.ToString(); | 476 | hash["UUID"] = uuid.ToString(); |
@@ -477,7 +479,6 @@ namespace OpenSim.Server.Handlers.Hypergrid | |||
477 | XmlRpcResponse response = new XmlRpcResponse(); | 479 | XmlRpcResponse response = new XmlRpcResponse(); |
478 | response.Value = hash; | 480 | response.Value = hash; |
479 | return response; | 481 | return response; |
480 | |||
481 | } | 482 | } |
482 | } | 483 | } |
483 | } | 484 | } \ No newline at end of file |