cloudflared-mirror/tunnelrpc/pogs
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
..
auth_outcome.go TUN-6917: Bump go to 1.19.3 2022-11-07 09:19:19 -08:00
auth_serialize.go TUN-8415: Refactor capnp rpc into a single module 2024-05-17 11:22:07 -07:00
auth_test.go TUN-8415: Refactor capnp rpc into a single module 2024-05-17 11:22:07 -07:00
cloudflaredrpc.go TUN-8415: Refactor capnp rpc into a single module 2024-05-17 11:22:07 -07:00
configurationrpc.go TUN-8415: Refactor capnp rpc into a single module 2024-05-17 11:22:07 -07:00
connectionrpc.go TUN-8415: Refactor capnp rpc into a single module 2024-05-17 11:22:07 -07:00
connectionrpc_test.go TUN-8415: Refactor capnp rpc into a single module 2024-05-17 11:22:07 -07:00
errors.go TUN-3107: UnregisterConnection shouldn't wrap nil error as RPC error 2020-06-18 21:17:43 +08:00
quic_metadata_protocol.go TUN-8415: Refactor capnp rpc into a single module 2024-05-17 11:22:07 -07:00
reconnect_tunnel.go TUN-8415: Refactor capnp rpc into a single module 2024-05-17 11:22:07 -07:00
sessionrpc.go TUN-8415: Refactor capnp rpc into a single module 2024-05-17 11:22:07 -07:00
support_test.go TUN-4067: Reformat code for consistent import order, grouping, and fix formatting. Added goimports target to the Makefile to make this easier in the future. 2021-03-24 10:53:29 -05:00
tunnelrpc.go TUN-8415: Refactor capnp rpc into a single module 2024-05-17 11:22:07 -07:00
tunnelrpc_test.go TUN-8415: Refactor capnp rpc into a single module 2024-05-17 11:22:07 -07:00