openziti / edge

Application-embedded connectivity and zero-trust components
Apache License 2.0
74 stars 19 forks source link

ER/T cached API sessions aren't remembered when pulled from cache #1597

Closed plorenz closed 1 year ago

plorenz commented 1 year ago

ER/T cached API sessions aren't remembered when pulled from cache. If we are able to re-use an api session for an ER/T context, we're not storing it back into the context, meaning we look it up every time we are dialing or hosting a service. This is extra work that doesn't need to be done and results in unnecessary notifications back to the router that the api session has changed.