fix: disable doq skip verify cert

This commit is contained in:
Skyxim 2022-06-20 22:30:04 +08:00
parent 8c079bf5bc
commit 9c70e649ca

View file

@ -129,7 +129,7 @@ func (dc *quicClient) getSession(ctx context.Context) (quic.Connection, error) {
func (dc *quicClient) openSession(ctx context.Context) (quic.Connection, error) { func (dc *quicClient) openSession(ctx context.Context) (quic.Connection, error) {
tlsConfig := &tls.Config{ tlsConfig := &tls.Config{
InsecureSkipVerify: true, InsecureSkipVerify: false,
NextProtos: []string{ NextProtos: []string{
NextProtoDQ, NextProtoDQ,
}, },