diff options
Diffstat (limited to 'osp/go/quic.go')
-rw-r--r-- | osp/go/quic.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/osp/go/quic.go b/osp/go/quic.go index 8fdff9aa..1ec2224c 100644 --- a/osp/go/quic.go +++ b/osp/go/quic.go @@ -4,7 +4,7 @@ package osp -// TODO(pthatcher): +// TODO(jophba): // - avoid NetworkIdleTimeout // - make a client object that can send and receive more than one stream // - make a server object that can send and receive more than one stream @@ -56,7 +56,7 @@ func readAllStreams(ctx context.Context, session quic.Session, streams chan<- io // Returns a quic.Session object with a .OpenStreamSync method to send streams func DialAsQuicClient(ctx context.Context, hostname string, port int) (quic.Session, error) { - // TODO(pthatcher): Change InsecureSkipVerify + // TODO(jophba): Change InsecureSkipVerify tlsConfig := &tls.Config{InsecureSkipVerify: true} addr := fmt.Sprintf("%s:%d", hostname, port) session, err := quic.DialAddrContext(ctx, addr, tlsConfig, nil) |