mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-13 17:58:00 -07:00
If the soliciting side detects the disconnect and attempts to reconnect but the accepting side did not yet close the connection, a "loop detected" error would be reported and the soliciting server would not try to reconnect for 30 seconds. Made a change so that the accepting server checks for existing leafnode connection for the same server and same account, and if it is found, close the "old" connection so it is replaced by the "new" one. Resolves #1606 Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
110 KiB
110 KiB