diff options
author | Teravus Ovares | 2008-09-30 16:56:33 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-09-30 16:56:33 +0000 |
commit | 79b2e5ac71794dd4e55228e0ac146b527fb71ddf (patch) | |
tree | c84ebcaccff670125becc16c0da17d943bfdcecb /OpenSim/Framework/Communications | |
parent | more concierge stuff (diff) | |
download | opensim-SC-79b2e5ac71794dd4e55228e0ac146b527fb71ddf.zip opensim-SC-79b2e5ac71794dd4e55228e0ac146b527fb71ddf.tar.gz opensim-SC-79b2e5ac71794dd4e55228e0ac146b527fb71ddf.tar.bz2 opensim-SC-79b2e5ac71794dd4e55228e0ac146b527fb71ddf.tar.xz |
* Replacing Net.HttpListener with HttpServer.
* This is a HUGE update.. and should be considered fraut with peril.
* SSL Mode isn't available *yet* but I'll work on that next.
* DrScofld is still working on a radical new thread pump scheme for this which will be implemented soon.
* This could break the Build! This could break your Grid!
Diffstat (limited to 'OpenSim/Framework/Communications')
-rw-r--r-- | OpenSim/Framework/Communications/UserManagerBase.cs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/OpenSim/Framework/Communications/UserManagerBase.cs b/OpenSim/Framework/Communications/UserManagerBase.cs index b7f9f5a..aa68367 100644 --- a/OpenSim/Framework/Communications/UserManagerBase.cs +++ b/OpenSim/Framework/Communications/UserManagerBase.cs | |||
@@ -368,9 +368,12 @@ namespace OpenSim.Framework.Communications | |||
368 | 368 | ||
369 | if (request.Params.Count > 1) | 369 | if (request.Params.Count > 1) |
370 | { | 370 | { |
371 | IPEndPoint RemoteIPEndPoint = (IPEndPoint)request.Params[1]; | 371 | if (request.Params[1] != null) |
372 | agent.AgentIP = RemoteIPEndPoint.Address.ToString(); | 372 | { |
373 | agent.AgentPort = (uint)RemoteIPEndPoint.Port; | 373 | IPEndPoint RemoteIPEndPoint = (IPEndPoint)request.Params[1]; |
374 | agent.AgentIP = RemoteIPEndPoint.Address.ToString(); | ||
375 | agent.AgentPort = (uint)RemoteIPEndPoint.Port; | ||
376 | } | ||
374 | } | 377 | } |
375 | 378 | ||
376 | // Generate sessions | 379 | // Generate sessions |