1
0
mirror of https://github.com/fumiama/terasu-cloudflared.git synced 2026-06-06 01:20:24 +08:00
Files
terasu-cloudflared/connection
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
..
2023-03-07 13:51:37 -08:00
2023-03-07 13:51:37 -08:00