Are active connections allowed to complete, if a destination is removed from config at runtime #2869
-
Following up on Q&A #545, 4 and a half years later. Is it still the case that if a destination is removed from config at runtime, YARP will still allow active requests to complete? My use case is to allow a web server's connections to drain, before removing it, due to scaling in a cluster. Also wondering if there's public documentation to that effect that I can maybe link to in my code, for future references. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Yes, that's still the case. |
Beta Was this translation helpful? Give feedback.
Yes, that's still the case.
The component doing the actual proxying only cares about the URL prefix to use, not about the broader YARP configuration.
I don't see a reason why we'd want to change this behavior in the future.