Skip to content

Commit

Permalink
make DialEarly return EarlySession
Browse files Browse the repository at this point in the history
Fixes #2619.
  • Loading branch information
l2dy committed Jun 22, 2020
1 parent c956ca4 commit 85cd490
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 85cd490

Please sign in to comment.