cloudflared-mirror/quic
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
..
v3 TUN-8817: Increase close session channel by one since there are two writers 2024-12-17 14:55:09 -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