mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

gbellato
19.03.2009 e0e37d25213b6659461d679845e593bbd2d572c1
refs
author gbellato <gbellato@localhost>
Thursday, March 19, 2009 12:03 +0100
committer gbellato <gbellato@localhost>
Thursday, March 19, 2009 12:03 +0100
commite0e37d25213b6659461d679845e593bbd2d572c1
tree 0b723b32eb2792769639960fc3cf295e7002233c tree | zip | gz
parent b6fb33af50bd7570ad0fa2c4441af20a907de4f3 view | diff
 fix for 3829 : "Severe Error" logged when dsreplication enable is used with "localhost" and hostname for --host1 and --host2

In such cases the Replication Server were not detecting that they are already connected
and was keeping trying to open new connection to each other Replication Server.

The trick is simply to handle loopback and localhost addresses as equals.
1 files modified
21 ■■■■■ changed files
opends/src/server/org/opends/server/replication/server/ReplicationServer.java 21 ●●●●● diff | view | raw | blame | history