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

. ch.gosch at googlemail.com
Mon Jul 23 19:54:44 CEST 2012

I just modified TLS locally on my system
to export SessionID and SessionData, and set the session callbacks to
storing/retrieving the session data from a Map.
After that, the resumption appears to work :-D
Thanks a lot for that hint!
Is that the way it's meant to be? If yes, how do I get the 
data types the "official way"?


On Mon, 2012-07-23 at 15:33 +0100, Vincent Hanquez wrote:
> On 07/21/2012 05:12 PM, C Gosch wrote:
> > Hi Cafe,
> >
> > and then the server says
> >   (AlertLevel_Fatal,UnexpectedMessage)
> >
> > 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.
> Hi Christian,
> Domique is right, a sucessful session resumption should have a Finished message 
> after ServerHello.
> It's not really clear what's your setup (are you trying to use TLS on 
> server/client/both ?), and without some code, it's hard to debug your problem. 
> The only thing that come to my mind is, did you setup your session callbacks 
> correctly ?

More information about the Haskell-Cafe mailing list