cloudflared-mirror/connection
Devin Carr eb2e4349e8 TUN-8415: Refactor capnp rpc into a single module
Combines the tunnelrpc and quic/schema capnp files into the same module.

To help reduce future issues with capnp id generation, capnpids are
provided in the capnp files from the existing capnp struct ids generated
in the go files.

Reduces the overall interface of the Capnp methods to the rest of
the code by providing an interface that will handle the quic protocol
selection.

Introduces a new `rpc-timeout` config that will allow all of the
SessionManager and ConfigurationManager RPC requests to have a timeout.
The timeout for these values is set to 5 seconds as non of these operations
for the managers should take a long time to complete.

Removed the RPC-specific logger as it never provided good debugging value
as the RPC method names were not visible in the logs.
2024-05-17 11:22:07 -07:00
..
connection.go TUN-7776: Remove warp-routing flag from cloudflared 2023-09-18 10:02:56 +01:00
connection_test.go TUN-7558: Flush on Writes for StreamBasedOriginProxy 2023-07-06 14:22:29 +00:00
control.go TUN-7131: Add cloudflared log event to connection messages and enable streaming logs 2023-04-12 14:41:11 -07: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-7252: Remove h2mux connection 2023-03-07 13:51:37 -08: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
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-7558: Flush on Writes for StreamBasedOriginProxy 2023-07-06 14:22:29 +00:00
http2_test.go TUN-7590: Remove usages of ioutil 2023-07-17 19:08:38 +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-7131: Add cloudflared log event to connection messages and enable streaming logs 2023-04-12 14:41:11 -07:00
observer_test.go TUN-6583: Remove legacy --ui flag 2022-07-20 16:17:29 -07:00
protocol.go TUN-7167: Respect protocol overrides with --token 2023-02-08 11:03:04 -08:00
protocol_test.go TUN-6938: Force h2mux protocol to http2 for named tunnels 2023-02-06 11:06:02 -08:00
quic.go TUN-8415: Refactor capnp rpc into a single module 2024-05-17 11:22:07 -07:00
quic_test.go TUN-8415: Refactor capnp rpc into a single module 2024-05-17 11:22:07 -07:00
rpc.go TUN-8415: Refactor capnp rpc into a single module 2024-05-17 11:22:07 -07:00
tunnelsforha.go TUN-3471: Add structured log context to logs 2021-01-05 20:21:16 +00:00