cloudflared-mirror/connection
Sudarsan Reddy 99f39225f1 TUN-6617: Dont fallback to http2 if QUIC conn was successful.
cloudflared falls back aggressively to HTTP/2 protocol if a connection
attempt with QUIC failed. This was done to ensure that machines with UDP
egress disabled did not stop clients from connecting to the cloudlfare
edge. This PR improves on that experience by having cloudflared remember
if a QUIC connection was successful which implies UDP egress works. In
this case, cloudflared does not fallback to HTTP/2 and keeps trying to
connect to the edge with QUIC.
2022-08-12 08:40:03 +00:00
..
connection.go TUN-6576: Consume cf-trace-id from incoming TCP requests to create root span 2022-08-02 14:56:31 -07:00
connection_test.go TUN-6576: Consume cf-trace-id from incoming TCP requests to create root span 2022-08-02 14:56:31 -07:00
control.go TUN-6617: Dont fallback to http2 if QUIC conn was successful. 2022-08-12 08:40:03 +00:00
errors.go TUN-6007: Implement new edge discovery algorithm 2022-06-23 16:55:03 +00:00
event.go TUN-6617: Dont fallback to http2 if QUIC conn was successful. 2022-08-12 08:40:03 +00:00
h2mux.go TUN-6576: Consume cf-trace-id from incoming TCP requests to create root span 2022-08-02 14:56:31 -07:00
h2mux_header.go TUN-5393: Content-length is no longer a control header for non-h2mux transports 2021-11-17 10:56:15 +00:00
h2mux_header_test.go TUN-5393: Content-length is no longer a control header for non-h2mux transports 2021-11-17 10:56:15 +00:00
h2mux_test.go TUN-6576: Consume cf-trace-id from incoming TCP requests to create root span 2022-08-02 14:56:31 -07:00
header.go TUN-5393: Content-length is no longer a control header for non-h2mux transports 2021-11-17 10:56:15 +00:00
header_test.go TUN-5393: Content-length is no longer a control header for non-h2mux transports 2021-11-17 10:56:15 +00:00
http2.go TUN-6576: Consume cf-trace-id from incoming TCP requests to create root span 2022-08-02 14:56:31 -07:00
http2_test.go TUN-6617: Dont fallback to http2 if QUIC conn was successful. 2022-08-12 08:40:03 +00:00
json.go TUN-3467: Serialize cf-cloudflared-response-meta during package initialization using jsoniter 2020-11-11 15:11:42 +00:00
metrics.go TUN-6460: Rename metric label location to edge_location 2022-06-24 09:46:22 -07:00
observer.go TUN-6617: Dont fallback to http2 if QUIC conn was successful. 2022-08-12 08:40:03 +00:00
observer_test.go TUN-6583: Remove legacy --ui flag 2022-07-20 16:17:29 -07:00
protocol.go TUN-5992: Use QUIC protocol for remotely managed tunnels when protocol is unspecified 2022-04-05 23:07:10 +01:00
protocol_test.go TUN-5992: Use QUIC protocol for remotely managed tunnels when protocol is unspecified 2022-04-05 23:07:10 +01:00
quic.go TUN-6584: Define QUIC datagram v2 format to support proxying IP packets 2022-08-12 08:06:56 +00:00
quic_test.go TUN-6617: Dont fallback to http2 if QUIC conn was successful. 2022-08-12 08:40:03 +00:00
rpc.go TUN-6617: Dont fallback to http2 if QUIC conn was successful. 2022-08-12 08:40:03 +00:00
tunnelsforha.go TUN-3471: Add structured log context to logs 2021-01-05 20:21:16 +00:00