Welcome! Log In Create A New Profile

Advanced

Various debugging info not shown (

Alex
October 27, 2013 05:20PM
OK, I found out why sessions wouldn't be resumed after 3600s in my
testings... it's not that nginx would have stopped caching the session,
but it's the client. For example, openssl wouldn't cache sessions for
longer than two hours:

/ssl/t1_lib.c (same also for sslv3)

long tls1_default_timeout(void)
{
/* 2 hours, the 24 hours mentioned in the TLSv1 spec
* is way too long for http, the cache would over fill */
return(60*60*2);
}

Oh well. rfc2246 states that cached sessions may be used for up to 24
hours (http://tools.ietf.org/html/rfc2246#appendix-F.1.4).

Curious how popular browsers such as Chrome or Firefox behave in this
regard.

Anyhow, I am still not sure why the nginx debug data didn't show
anything about session resumption in my case, but I guess I won't need
the information now.

Thanks again.
Alex

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Various debugging info not shown (

Alex October 27, 2013 05:20PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 289
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready