[Haskell-cafe] TLS 0.9.6, question about session resumption.

C Gosch ch.gosch at googlemail.com
Sat Jul 21 18:12:49 CEST 2012

Hi Cafe,

I am trying to use the TLS package from hackage, and it works fine so
far -- except when a client wants to
do session resumption (note I am not an expert in TLS, so it might be
something quite simple).
In that case, I get an alert, "unexpected message", during handshake.

The handshake goes like this:
ClientHello (with a SessionID)
ServerHello (with the same SessionID)

and then the server says

I'm not sure whether the "ServerHelloDone" should happen when resuming.
Does anyone have a hint what may be going wrong?
I am using TLS10 and the tls package with version 0.9.6.


More information about the Haskell-Cafe mailing list