cloudflared-mirror/quic
Devin Carr 952622a965 TUN-8709: Add session migration for datagram v3
When a registration response from cloudflared gets lost on it's way back to the edge, the edge service will retry and send another registration request. Since cloudflared already has bound the local UDP socket for the provided request id, we want to re-send the registration response.

There are three types of retries that the edge will send:

1. A retry from the same QUIC connection index; cloudflared will just respond back with a registration response and reset the idle timer for the session.
2. A retry from a different QUIC connection index; cloudflared will need to migrate the current session connection to this new QUIC connection and reset the idle timer for the session.
3. A retry to a different cloudflared connector; cloudflared will eventually time the session out since no further packets will arrive to the session at the original connector.

Closes TUN-8709
2024-11-06 12:06:07 -08:00
..
v3 TUN-8709: Add session migration for datagram v3 2024-11-06 12:06:07 -08: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-8456: Update quic-go to 0.45 and collect mtu and congestion control metrics 2024-06-17 15:28:56 +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-8456: Update quic-go to 0.45 and collect mtu and congestion control metrics 2024-06-17 15:28:56 +00:00