mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-24 11:16:38 +00:00
[client,relay] Add QUIC support (#2962)
This commit is contained in:
12
relay/tls/client_dev.go
Normal file
12
relay/tls/client_dev.go
Normal file
@@ -0,0 +1,12 @@
|
||||
//go:build devcert
|
||||
|
||||
package tls
|
||||
|
||||
import "crypto/tls"
|
||||
|
||||
func ClientQUICTLSConfig() *tls.Config {
|
||||
return &tls.Config{
|
||||
InsecureSkipVerify: true, // Debug mode allows insecure connections
|
||||
NextProtos: []string{nbalpn}, // Ensure this matches the server's ALPN
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user