cloudflared-mirror/quic/v3
Devin Carr bc9c5d2e6e TUN-8817: Increase close session channel by one since there are two writers
When closing a session, there are two possible signals that will occur,
one from the outside, indicating that the session is idle and needs to
be closed, and the internal error condition that will be unblocked
with a net.ErrClosed when the connection underneath is closed. Both of
these routines write to the session's closeChan.

Once the reader for the closeChan reads one value, it will immediately
return. This means that the channel is a one-shot and one of the two
writers will get stuck unless the size of the channel is increased to
accomodate for the second write to the channel.

With the channel size increased to two, the second writer (whichever
loses the race to write) will now be unblocked to end their go routine
and return.

Closes TUN-8817
2024-12-17 14:55:09 -08:00
..
datagram.go TUN-8640: Add ICMP support for datagram V3 2024-12-09 07:23:11 -08:00
datagram_errors.go TUN-8640: Add ICMP support for datagram V3 2024-12-09 07:23:11 -08:00
datagram_test.go TUN-8640: Add ICMP support for datagram V3 2024-12-09 07:23:11 -08:00
icmp.go TUN-8640: Add ICMP support for datagram V3 2024-12-09 07:23:11 -08:00
icmp_test.go TUN-8640: Add ICMP support for datagram V3 2024-12-09 07:23:11 -08:00
manager.go TUN-8701: Simplify flow registration logs for datagram v3 2024-11-12 10:54:37 -08:00
manager_test.go TUN-8701: Add metrics and adjust logs for datagram v3 2024-11-07 11:02:55 -08:00
metrics.go TUN-8701: Add metrics and adjust logs for datagram v3 2024-11-07 11:02:55 -08:00
metrics_test.go TUN-8701: Add metrics and adjust logs for datagram v3 2024-11-07 11:02:55 -08:00
muxer.go TUN-8640: Add ICMP support for datagram V3 2024-12-09 07:23:11 -08:00
muxer_test.go TUN-8640: Add ICMP support for datagram V3 2024-12-09 07:23:11 -08:00
request.go TUN-8641: Expose methods to simplify V3 Datagram parsing on the edge 2024-11-04 15:23:36 -08:00
request_test.go TUN-8641: Expose methods to simplify V3 Datagram parsing on the edge 2024-11-04 15:23:36 -08:00
session.go TUN-8817: Increase close session channel by one since there are two writers 2024-12-17 14:55:09 -08:00
session_fuzz_test.go TUN-8667: Add datagram v3 session manager 2024-10-31 14:05:15 -07:00
session_test.go TUN-8817: Increase close session channel by one since there are two writers 2024-12-17 14:55:09 -08:00