cloudflared-mirror/proxy
Sudarsan Reddy 39847a70f2 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-07-06 14:22:29 +00:00
..
metrics.go TUN-7477: Add UDP/TCP session metrics 2023-06-19 16:28:37 +00:00
proxy.go TUN-7558: Flush on Writes for StreamBasedOriginProxy 2023-07-06 14:22:29 +00:00
proxy_posix_test.go TUN-5749: Refactor cloudflared to pave way for reconfigurable ingress 2022-02-14 15:37:09 +00:00
proxy_test.go TUN-7558: Flush on Writes for StreamBasedOriginProxy 2023-07-06 14:22:29 +00:00