diff --git a/source/common/tls/server_context_impl.cc b/source/common/tls/server_context_impl.cc index fb5b9c32b7b43..a44dcc4c2b8e3 100644 --- a/source/common/tls/server_context_impl.cc +++ b/source/common/tls/server_context_impl.cc @@ -27,10 +27,10 @@ #include "source/common/runtime/runtime_features.h" #include "source/common/stats/utility.h" #include "source/common/tls/cert_validator/factory.h" -#include "source/common/tls/context_config_impl.h" #include "source/common/tls/stats.h" #include "source/common/tls/utility.h" +#include "" #include "absl/container/node_hash_set.h" #include "absl/strings/match.h" #include "absl/strings/str_join.h" @@ -183,9 +183,6 @@ ServerContextImpl::ServerContextImpl(Stats::Scope& scope, int mode = SSL_CTX_get_session_cache_mode(ctx.ssl_ctx_.get()); ENVOY_LOG(info, "ssl session cache mode: {:x}", mode); - // SSL_CTX_set_session_cache_mode(ctx.ssl_ctx_.get(), mode | - // SSL_SESS_CACHE_NO_INTERNAL_STORE); - SSL_CTX_sess_set_new_cb(ctx.ssl_ctx_.get(), [](SSL* ssl, SSL_SESSION* session) -> int { (void)ssl; /* https://www.openssl.org/docs/man1.0.2/man3/d2i_SSL_SESSION.html diff --git a/source/common/tls/session_cache/session_cache.h b/source/common/tls/session_cache/session_cache.h index 78cb27760b080..3a94a8f1a6a4b 100644 --- a/source/common/tls/session_cache/session_cache.h +++ b/source/common/tls/session_cache/session_cache.h @@ -42,7 +42,7 @@ class Client { virtual ~Client() = default; /** - * Request to store/fetchdd a TLS session to/from remote cache. + * Request to store/fetch a TLS session to/from remote cache. * NOTE: It is possible for the completion callback to be called immediately on the same stack * frame. Calling code should account for this. * @param callbacks supplies the completion callbacks. diff --git a/tools/spelling/spelling_dictionary.txt b/tools/spelling/spelling_dictionary.txt index c7a74df4c2a13..b36f088e73634 100644 --- a/tools/spelling/spelling_dictionary.txt +++ b/tools/spelling/spelling_dictionary.txt @@ -1254,6 +1254,7 @@ serializable serializer serv servercert +sess setenv setsockopt sfixed