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

This commit is contained in:
cthuang
2021-12-06 16:37:09 +00:00
committed by Arég Harutyunyan
parent fc2333c934
commit dd32dc1364
5 changed files with 220 additions and 20 deletions
+2 -1
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.