You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
serverNameMapping method of io.vertx.core.net.impl.SslChannelProvider Class:
public AsyncMapping<? super String, ? extends SslContext> serverNameMapping() {
return (AsyncMapping<String, SslContext>) (serverName, promise) -> {
workerPool.execute(() -> {
···
int idx = idx(useAlpn);
SslContext sslContext = sslContextMaps[idx].computeIfAbsent(serverName, s -> sslContextProvider.createServerContext(kmf, trustManagers, s, useAlpn));
promise.setSuccess(sslContext);
}
});
return promise;
};
sslContextMaps[idx] add no restrictions based on "serverName",If the client keeps making fake "serverName" it will cause memory leaks in sslContextMaps[idx]
Version
<vertx.version>4.5.1</vertx.version>
The text was updated successfully, but these errors were encountered:
Questions
serverNameMapping method of io.vertx.core.net.impl.SslChannelProvider Class:
sslContextMaps[idx] add no restrictions based on "serverName",If the client keeps making fake "serverName" it will cause memory leaks in sslContextMaps[idx]
Version
<vertx.version>4.5.1</vertx.version>
The text was updated successfully, but these errors were encountered: