-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
Description
Description
Implement QUIC 0-RTT (zero-round-trip) handshake support in zaprpc, allowing clients to initiate RPC requests immediately on resumed sessions!
QUIC 0-RTT allows previously authenticated clients to send requests immediately on connection resumption, improving latency for RPC calls.
Expected Work
- Implement the
ServeEarlymethod forServer, using theAcceptEarlymethod fromquic-goand allowing users to opt in to rejection of unsafe early data (eg: non idempotent methods), make surehandleSessionis updated accordingly - Implement
NewEarlyConn, similar toNewConn, making sure it uses theDialEarlymethod fromquic-goand TLS Session Resumption is opted in for by the user with TLSClientSessionCache - If
Zapfails with 0-RTT, gracefully fallback to normal handshake