forked from quic-go/quic-go
Merge pull request #2621 from l2dy/dialearly
make DialEarly return EarlySession
This commit is contained in:
@@ -144,7 +144,7 @@ func DialEarly(
|
|||||||
host string,
|
host string,
|
||||||
tlsConf *tls.Config,
|
tlsConf *tls.Config,
|
||||||
config *Config,
|
config *Config,
|
||||||
) (Session, error) {
|
) (EarlySession, error) {
|
||||||
return dialContext(context.Background(), pconn, remoteAddr, host, tlsConf, config, true, false)
|
return dialContext(context.Background(), pconn, remoteAddr, host, tlsConf, config, true, false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user