mirror of
https://github.com/openziti/ziti.git
synced 2026-10-25 21:20:03 +00:00
210f6d50ed
- adds an UNUSABLE_TERMINATOR route error code and UnusableTerminatorError for a terminator the router still has registered but can't dial - reports an edge terminator that is being removed, or whose SDK channel has closed, as unusable before opening a connection on it, instead of failing in the msg mux with a generic error - dials the replacement when a new bind takes over an edge terminator while the dialer is looking it up - doesn't take over an edge terminator the dialer would report unusable, and orders the takeover with the dialer's recheck, so an id reported unusable isn't reused - reports an ER/T terminator that is closing or being removed as unusable - skips terminators reported invalid or unusable in path selection for up to a minute, and clears the mark when the terminator is created, deleted, or re-established by a create for an existing id - keeps deleting terminators reported invalid, and logs the delete failure that was dropped before - adds the ROUTER_ERR_UNUSABLE_TERMINATOR circuit failure cause - passes a RouteSenderEnv to the route sender in place of its separate dependencies