cloudflared-mirror/quic
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
..
constants.go TUN-8415: Refactor capnp rpc into a single module 2024-05-17 11:22:07 -07:00
conversion.go TUN-8243: Collect metrics on the number of QUIC frames sent/received 2024-02-19 10:09:14 +00:00
datagram.go TUN-8006: Update quic-go to latest upstream 2023-12-04 17:09:40 +00:00
datagram_test.go TUN-8006: Update quic-go to latest upstream 2023-12-04 17:09:40 +00:00
datagramv2.go TUN-8006: Update quic-go to latest upstream 2023-12-04 17:09:40 +00:00
metrics.go TUN-8243: Collect metrics on the number of QUIC frames sent/received 2024-02-19 10:09:14 +00:00
param_unix.go TUN-5623: Configure quic max datagram frame size to 1350 bytes for none Windows platforms 2022-01-11 14:55:43 +00:00
param_windows.go TUN-7227: Migrate to devincarr/quic-go 2023-05-10 19:44:15 +00:00
safe_stream.go TUN-8297: Improve write timeout logging on safe_stream.go 2024-03-13 13:30:45 +00:00
safe_stream_test.go TUN-8415: Refactor capnp rpc into a single module 2024-05-17 11:22:07 -07:00
tracing.go TUN-8243: Collect metrics on the number of QUIC frames sent/received 2024-02-19 10:09:14 +00:00