californium.scandium icon indicating copy to clipboard operation
californium.scandium copied to clipboard

In scandium client Queued Messages are not handled when ServerHelloDone message arrives

Open yunus opened this issue 9 years ago • 1 comments

When messages are out of order, they are queued. Assume that in Flight 4, ServerKeyExchange is lost, and CertificateRequest arrives out of order. Later, when ServerKeyExchange arrives with ServerHelloDone in a retransmission of the whole flight, Scandium does not go through the QueuedMessages before handling ServerHelloDone.

As a result, Scandium thinks that there was no certificateRequest, so this is a PSK based session.

So the solution should be emptying the QueuedMessages before handling the ServerHelloDone.

yunus avatar Feb 12 '15 10:02 yunus