Skip to content

Commit

Permalink
Merge pull request #2621 from l2dy/dialearly
Browse files Browse the repository at this point in the history
make DialEarly return EarlySession
  • Loading branch information
marten-seemann authored Jun 22, 2020
2 parents c956ca4 + 85cd490 commit b7284a4
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 b7284a4

Please sign in to comment.