forked from quic-go/quic-go
add context to EarlyConnection.NextConnection, handle handshake failures (#4551)
This commit is contained in:
@@ -224,7 +224,7 @@ type EarlyConnection interface {
|
||||
// however the client's identity is only verified once the handshake completes.
|
||||
HandshakeComplete() <-chan struct{}
|
||||
|
||||
NextConnection() Connection
|
||||
NextConnection(context.Context) (Connection, error)
|
||||
}
|
||||
|
||||
// StatelessResetKey is a key used to derive stateless reset tokens.
|
||||
|
||||
Reference in New Issue
Block a user