forked from quic-go/quic-go
return an Err0RTTRejected when the server rejects a 0-RTT connection
This commit is contained in:
@@ -215,6 +215,8 @@ type EarlySession interface {
|
||||
// Data sent before completion of the handshake is encrypted with 1-RTT keys.
|
||||
// Note that the client's identity hasn't been verified yet.
|
||||
HandshakeComplete() context.Context
|
||||
|
||||
NextSession() Session
|
||||
}
|
||||
|
||||
// Config contains all configuration data needed for a QUIC server or client.
|
||||
|
||||
Reference in New Issue
Block a user