Update for netty-tcnative API changes
Motivation: netty-tcnative API has changed to remove a feature that contributed to a memory leak. Modifications: - Update to use the modified netty-tcnative API Result: Netty can use the latest netty-tcnative.
This commit is contained in:
parent
ef159db320
commit
fef2940f32
@ -644,7 +644,7 @@ public abstract class ReferenceCountedOpenSslContext extends SslContext implemen
|
||||
|
||||
SSLContext.setCertificateBio(
|
||||
ctx, keyCertChainBio, keyBio,
|
||||
keyPassword == null ? StringUtil.EMPTY_STRING : keyPassword, SSL.SSL_AIDX_RSA);
|
||||
keyPassword == null ? StringUtil.EMPTY_STRING : keyPassword);
|
||||
// We may have more then one cert in the chain so add all of them now.
|
||||
SSLContext.setCertificateChainBio(ctx, keyCertChainBio, false);
|
||||
} catch (SSLException e) {
|
||||
|
2
pom.xml
2
pom.xml
@ -224,7 +224,7 @@
|
||||
<!-- Fedora-"like" systems. This is currently only used for the netty-tcnative dependency -->
|
||||
<os.detection.classifierWithLikes>fedora</os.detection.classifierWithLikes>
|
||||
<tcnative.artifactId>netty-tcnative</tcnative.artifactId>
|
||||
<tcnative.version>1.1.33.Fork19</tcnative.version>
|
||||
<tcnative.version>1.1.33.Fork20-SNAPSHOT</tcnative.version>
|
||||
<tcnative.classifier>${os.detected.classifier}</tcnative.classifier>
|
||||
<epoll.classifier>${os.detected.name}-${os.detected.arch}</epoll.classifier>
|
||||
<logging.config>${project.basedir}/../common/src/test/resources/logback-test.xml</logging.config>
|
||||
|
Loading…
x
Reference in New Issue
Block a user