From 85cd490e9be1ba5f373bc8be7015252c1282491c Mon Sep 17 00:00:00 2001 From: Zero King Date: Mon, 22 Jun 2020 04:52:15 +0000 Subject: [PATCH] make DialEarly return EarlySession Fixes https://github.com/lucas-clemente/quic-go/issues/2619. --- client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.go b/client.go index 322918e36..5d542c57f 100644 --- a/client.go +++ b/client.go @@ -144,7 +144,7 @@ func DialEarly( host string, tlsConf *tls.Config, config *Config, -) (Session, error) { +) (EarlySession, error) { return dialContext(context.Background(), pconn, remoteAddr, host, tlsConf, config, true, false) }