[Bug 64497] jni.SSL.getSessionId returns null

2020-08-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64497 Mark Thomas changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug 64497] jni.SSL.getSessionId returns null

2020-08-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64497 --- Comment #2 from Mark Thomas --- Turns out setting the session cache size was exposed and setting that automatically sets the mode correctly. The session ID is now available to the rewrite valve. I still want to check on why the

[Bug 64497] jni.SSL.getSessionId returns null

2020-08-19 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64497 --- Comment #1 from Mark Thomas --- The root cause of this behaviour is the session caching is hard-coded to disabled in sslcontext.c That is a different default to OpenSSL. Some svn archaeology is called for to figure out why this was chosen