TUN-5299: Send/receive QUIC datagram from edge and proxy to origin as UDP

This commit is contained in:
cthuang
2021-11-14 11:18:05 +00:00
committed by Arég Harutyunyan
parent fc2333c934
commit dd32dc1364
5 changed files with 220 additions and 20 deletions

View File

@@ -33,7 +33,8 @@ import (
// It also serves as a demonstration for communication with the QUIC connection started by a cloudflared.
func TestQUICServer(t *testing.T) {
quicConfig := &quic.Config{
KeepAlive: true,
KeepAlive: true,
EnableDatagrams: true,
}
// Setup test.