Closed leptonyu closed 1 month ago
Yes, the rustls ServerConnection
does contain an internal buffer, and if we've only received a partial TLS record we'll need to wait for the rest of the contents before we're able to decrypt it.
How to enforce write a tls record? In this case, seems we need to let tlsstream generate a complete tls record, not a partial.
Suggest you provide a complete minimal reproduction of your issue.
Closing this for now pending a reproducer.
I found that second packet of a new connection cannot read by server side, but when client send another packet 5secs later, server side can read normally.