forked from quic-go/quic-go
use a callback to pass handshake errors to the session
This commit is contained in:
@@ -30,7 +30,7 @@ type tlsExtensionHandler interface {
|
||||
|
||||
// CryptoSetup handles the handshake and protecting / unprotecting packets
|
||||
type CryptoSetup interface {
|
||||
RunHandshake() error
|
||||
RunHandshake()
|
||||
io.Closer
|
||||
ChangeConnectionID(protocol.ConnectionID) error
|
||||
|
||||
|
||||
Reference in New Issue
Block a user