Closed Lichtso closed 2 years ago
Thanks for the report! This looks like a rustls bug; EndOfEarlyData
is illegal in QUIC, so it should not be expected. It's quite surprising that this doesn't manifest in our tests.
The behavior alternates
This is expected; 0-RTT is only permitted by rustls when the session cache is populated.
Let's close this in favor of rustls/rustls#1005.
When reconnecting to a peer after connecting and disconnecting from it, the TLS 1.3 Early Data (0-RTT) gets send but is messed up. Or at least that is my interpretation of what is happening, maybe I am using quinn incorrectly.
Minimal? Deterministic Reproducer
Output
Also interesting to note: The behavior alternates, with every even round index / try to succeed and odd one to fail.