cloudflared-mirror/connection
Sudarsan Reddy 9339bb9485 TUN-6929: Use same protocol for other connections as first one
This PR changes protocol initialization of the other N connections to be
the same as the one we know the initial tunnel connected with. This is
so we homogenize connections and not lead to some connections being
QUIC-able and the others not.

There's also an improvement to the connection registered log so we know
what protocol every individual connection connected with from the
cloudflared side.
2022-11-17 10:28:04 +00:00
..
connection.go TUN-6813: Only proxy ICMP packets when warp-routing is enabled 2022-09-30 19:08:12 +01:00
connection_test.go TUN-6813: Only proxy ICMP packets when warp-routing is enabled 2022-09-30 19:08:12 +01:00
control.go TUN-6929: Use same protocol for other connections as first one 2022-11-17 10:28:04 +00:00
errors.go TUN-6740: Detect no UDP packets allowed and fallback from QUIC in that case 2022-09-07 16:32:15 +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-6676: Add suport for trailers in http2 connections 2022-08-24 15:16:30 +00: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-6676: Add suport for trailers in http2 connections 2022-08-24 15:16:30 +00: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 RTG-1339 Support post-quantum hybrid key exchange 2022-09-07 19:32:53 +00:00
protocol_test.go RTG-1339 Support post-quantum hybrid key exchange 2022-09-07 19:32:53 +00:00
quic.go TUN-6856: Refactor to lay foundation for tracing ICMP 2022-10-17 19:48:35 +01:00
quic_test.go TUN-6864: Don't reuse port in quic unit tests 2022-10-18 20:29:59 +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