[PATCH] session ticket support

Simon Josefsson simon at josefsson.org
Mon Aug 3 23:25:54 CEST 2009

Daiki Ueno <ueno at unixuser.org> writes:

>>>>>> In <c331d99a0907301348s3e7efe47nb47b2ccd47592f1e at mail.gmail.com> 
>>>>>>	Nikos Mavrogiannopoulos <nmav at gnutls.org> wrote:
>> > When I changed _gnutls_recv_new_session_ticket to generate new session
>> > ID, it started to work.  I attach the new patch, which includes:
>>  I have some questions for you.  I was checking the parts that unpack
>> and pack the session and was wondering whether using the
>> _gnutls_session_pack() would be possible. In that case both
>> implementations of the DB and session ticket backends will share
>> common code.
> I chose the RFC format just because the patch was initially for
> experimental purpose.  Using _gnutls_session_pack() would be definitely
> better.

I'm not sure, couldn't there be situations where applications want to
use the RFC ticket format?  Maybe the format should be configurable, so
the application can decide.  Since you have already written support for
the RFC ticket format, I think it would be nice to support it somehow.


More information about the Gnutls-devel mailing list