Re: [openssl-users] SSL_CTX_set_timeout does not work properly

2017-02-01 Thread Viktor Dukhovni
On Wed, Feb 01, 2017 at 11:26:30AM +, Devang Kubavat wrote: > But when I set t=0 in SSL_CTX_set_timeout(ctx,0), I am getting different > behavior. > Session is resumed up to 7200 seconds. Wireshark log shows Ticket Lifetime > Hint: 7200 seconds. Instead of setting a zero-timeout, just disab

[openssl-users] SSL_CTX_set_timeout does not work properly

2017-02-01 Thread Devang Kubavat
Hi, I am using Ticket based Session Resumption in my application. I need to control 'timeout of the session'. So as per the document I can set the timeout of the session using SSL_CTX_set_timeout(SSL_CTX *ctx, long t); I used SSL_CTX_set_timeout(ctx, 500); I am able to resume the session up to