diff options
author | Teravus Ovares | 2008-10-01 04:16:41 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-10-01 04:16:41 +0000 |
commit | f49ba0cbfeee5a9e3c48358551ab5ce9e2ac1bf5 (patch) | |
tree | ed4de6abbf9a6b9abb327cc5bc73c1109d571f1c /OpenSim/Region/Communications/Local | |
parent | * Replacing Net.HttpListener with HttpServer. (diff) | |
download | opensim-SC-f49ba0cbfeee5a9e3c48358551ab5ce9e2ac1bf5.zip opensim-SC-f49ba0cbfeee5a9e3c48358551ab5ce9e2ac1bf5.tar.gz opensim-SC-f49ba0cbfeee5a9e3c48358551ab5ce9e2ac1bf5.tar.bz2 opensim-SC-f49ba0cbfeee5a9e3c48358551ab5ce9e2ac1bf5.tar.xz |
* Fixed a mangled Seed caps handler definition on login to region in standalone where port wasn't the http port.
* Removed spurious warning message
* More debug in EventQueueGet Module to figure out why we're loosing the handlers.
Diffstat (limited to 'OpenSim/Region/Communications/Local')
-rw-r--r-- | OpenSim/Region/Communications/Local/LocalLoginService.cs | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/OpenSim/Region/Communications/Local/LocalLoginService.cs b/OpenSim/Region/Communications/Local/LocalLoginService.cs index 2d5c92e..70be635 100644 --- a/OpenSim/Region/Communications/Local/LocalLoginService.cs +++ b/OpenSim/Region/Communications/Local/LocalLoginService.cs | |||
@@ -300,7 +300,28 @@ namespace OpenSim.Region.Communications.Local | |||
300 | response.RegionY = regionInfo.RegionLocY; | 300 | response.RegionY = regionInfo.RegionLocY; |
301 | 301 | ||
302 | string capsPath = Util.GetRandomCapsPath(); | 302 | string capsPath = Util.GetRandomCapsPath(); |
303 | response.SeedCapability = regionInfo.ServerURI + "/CAPS/" + capsPath + "0000/"; | 303 | |
304 | // Don't use the following! It Fails for logging into any region not on the same port as the http server! | ||
305 | // Kept here so it doesn't happen again! | ||
306 | // response.SeedCapability = regionInfo.ServerURI + "/CAPS/" + capsPath + "0000/"; | ||
307 | |||
308 | string seedcap = "http://"; | ||
309 | |||
310 | |||
311 | if (serversInfo.HttpUsesSSL) | ||
312 | { | ||
313 | seedcap = "https://" + serversInfo.HttpSSLCN + ":" + serversInfo.httpSSLPort + "/CAPS/" + capsPath + "0000/"; | ||
314 | |||
315 | } | ||
316 | else | ||
317 | { | ||
318 | seedcap = "http://" + regionInfo.ExternalEndPoint.Address.ToString() + ":" + serversInfo.HttpListenerPort + "/CAPS/" + capsPath + "0000/"; | ||
319 | } | ||
320 | |||
321 | |||
322 | |||
323 | |||
324 | response.SeedCapability = seedcap; //regionInfo.ExternalEndPoint.Address.ToString() + ":" + regionInfo.HttpPort + "/CAPS/" + capsPath + "0000/"; | ||
304 | 325 | ||
305 | // Notify the target of an incoming user | 326 | // Notify the target of an incoming user |
306 | m_log.InfoFormat( | 327 | m_log.InfoFormat( |