Commit 0994c925 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

nghttpx: Don't cache session server side if TLS version is 1.3

parent 465c7208
......@@ -269,6 +269,12 @@ int tls_session_new_cb(SSL *ssl, SSL_SESSION *session) {
auto dispatcher = worker->get_session_cache_memcached_dispatcher();
auto &balloc = handler->get_block_allocator();
#ifdef TLS1_3_VERSION
if (SSL_version(ssl) == TLS1_3_VERSION) {
return 0;
}
#endif // TLS1_3_VERSION
const unsigned char *id;
unsigned int idlen;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment