You need to sign in or sign up before continuing.
Draft: Cleanup Duo gRPC connection juggling
What does this MR do and why?
- Replace the mutex with sending from a single goroutine.
- Handle WebSocket close frames and close the outbound gRPC connection cleanly in that case.
- Abort the outbound gRPC connection when an error is encountered by canceling the context of the work group.
- TODO abort the inbound WebSocket connection when an error is encountered by returning from the handler.
References
Relates to Duo Agent: Can we remove thread safe locking of... (#568969).
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.