mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-04 12:47:36 +03:00
return an Err0RTTRejected when the server rejects a 0-RTT connection
This commit is contained in:
parent
97ab014479
commit
f8313d868f
5 changed files with 174 additions and 4 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue