Revert "TUN-10557: Bump quic-go v0.59.1"

This reverts commit 02eb75b56d.
This commit is contained in:
João "Pisco" Fernandes
2026-07-08 11:38:29 +01:00
parent 9171757c66
commit a53d9e5d44
367 changed files with 76585 additions and 8744 deletions
+2 -2
View File
@@ -141,7 +141,7 @@ func (dm *DatagramMuxerV2) demux(ctx context.Context, msgWithType []byte) error
}
msgType := DatagramV2Type(msgWithType[len(msgWithType)-typeIDLen])
msg := msgWithType[0 : len(msgWithType)-typeIDLen]
switch msgType { //nolint:exhaustive // default handles all non-UDP types via handlePacket
switch msgType {
case DatagramTypeUDP:
return dm.handleSession(ctx, msg)
case DatagramTypeIP, DatagramTypeIPWithTrace, DatagramTypeTracingSpan:
@@ -170,7 +170,7 @@ func (dm *DatagramMuxerV2) handleSession(ctx context.Context, session []byte) er
func (dm *DatagramMuxerV2) handlePacket(ctx context.Context, pk []byte, msgType DatagramV2Type) error {
var demuxedPacket Packet
switch msgType { //nolint:exhaustive // DatagramTypeUDP is handled by the caller (demux)
switch msgType {
case DatagramTypeIP:
demuxedPacket = RawPacket(packet.RawPacket{Data: pk})
case DatagramTypeIPWithTrace: