mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-04-27 08:46:35 +00:00
![]() ## Summary We have adapted our edge services to better know when they should flush on write. This is an important feature to ensure response types like Server Side Events are not buffered, and instead are propagated to the eyeball as soon as possible. This commit implements a similar logic for http2 tunnel protocol that we use in our edge services. By adding the new events stream header for json `application/x-ndjson` and using the content-length and transfer-encoding headers as well, following the RFC's: - https://datatracker.ietf.org/doc/html/rfc7230#section-4.1 - https://datatracker.ietf.org/doc/html/rfc9112#section-6.1 Closes TUN-9255 |
||
---|---|---|
.. | ||
connection_test.go | ||
connection.go | ||
control.go | ||
errors.go | ||
event.go | ||
header_test.go | ||
header.go | ||
http2_test.go | ||
http2.go | ||
json.go | ||
metrics.go | ||
observer_test.go | ||
observer.go | ||
protocol_test.go | ||
protocol.go | ||
quic_connection_test.go | ||
quic_connection.go | ||
quic_datagram_v2_test.go | ||
quic_datagram_v2.go | ||
quic_datagram_v3.go | ||
quic.go | ||
tunnelsforha.go |