cloudflared-mirror/orchestration
Sudarsan Reddy 4f79a2baba TUN-7558: Flush on Writes for StreamBasedOriginProxy
In the streambased origin proxy flow (example ssh over access), there is
a chance when we do not flush on http.ResponseWriter writes. This PR
guarantees that the response writer passed to proxy stream has a flusher
embedded after writes. This means we write much more often back to the
ResponseWriter and are not waiting. Note, this is only something we do
when proxyHTTP-ing to a StreamBasedOriginProxy because we do not want to
have situations where we are not sending information that is needed by
the other side (eyeball).
2023-10-22 15:09:33 +02:00
..
config.go TUN-6380: Enforce connect and keep-alive timeouts for TCP connections in both WARP routing and websocket based TCP proxy. 2022-06-14 21:36:40 +00:00
config_test.go TUN-6380: Enforce connect and keep-alive timeouts for TCP connections in both WARP routing and websocket based TCP proxy. 2022-06-14 21:36:40 +00:00
metrics.go TUN-5703: Add prometheus metric for current configuration version 2022-03-14 16:50:23 +00:00
orchestrator.go TUN-7463: Add default ingress rule if no ingress rules are provided when updating the configuration 2023-10-22 15:09:33 +02:00
orchestrator_test.go TUN-7558: Flush on Writes for StreamBasedOriginProxy 2023-10-22 15:09:33 +02:00