Skip to content

Connection manager switches to fallback hosts on close #950

@AndyTWF

Description

@AndyTWF

private StateIndication checkFallback(ErrorInfo reason) {

When the transport becomes unavailable due to a number of reasons (including a clean close, or an abnormal close) the connection immediately jumps to a fallback host if the internet is up.

This is because the check for whether to use fallback includes checking for a pendingConnect, as well as the error reason being "server related". The pendingConnect is set when the connecting state is enacted, but not cleared apart from checkFallback if it's decided not to use a fallback.

This means any time the connection closes for a number of reasons, then the connection will immediately fallback and not resume.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working. It's clear that this does need to be fixed.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions