We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3d3557 commit 64f15d9Copy full SHA for 64f15d9
connection/quic.go
@@ -81,6 +81,8 @@ func NewQUICConnection(
81
82
session, err := quic.Dial(udpConn, edgeAddr, edgeAddr.String(), tlsConfig, quicConfig)
83
if err != nil {
84
+ // close the udp server socket in case of error connecting to the edge
85
+ udpConn.Close()
86
return nil, &EdgeQuicDialError{Cause: err}
87
}
88
0 commit comments