pelikan
pelikan copied to clipboard
proxy: handle in-flight requests during shutdown
As implemented in #416 the proxy makes no attempt to gracefully handle in-flight requests during shutdown. We should make changes to the logic so that in-flight requests are allowed to complete (with some timeout), and responses routed back to the clients before the connections are terminated.