Skip to content

Commit

Permalink
fix(deps): update dependency io.netty.incubator:netty-incubator-codec…
Browse files Browse the repository at this point in the history
…-http3 to v0.0.27.final (#10603)
  • Loading branch information
renovate[bot] authored Mar 14, 2024
1 parent 0c23111 commit 7089853
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ managed-kotlin-coroutines = "1.7.3"
managed-methvin-directory-watcher = "0.18.0"
managed-netty = "4.1.107.Final"
managed-netty-iouring = "0.0.25.Final"
managed-netty-http3 = "0.0.25.Final"
managed-netty-http3 = "0.0.27.Final"
managed-netty-tcnative = "2.0.65.Final"
managed-reactive-streams = "1.0.4"
# This should be kept aligned with https://github.com/micronaut-projects/micronaut-reactor/blob/master/gradle.properties from the BOM
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,8 @@ void insertPcapLoggingHandler(Channel ch, String qualifier) {
path = path.replace("{remoteAddress}", resolveIfNecessary(ch.remoteAddress()));
}
if (quic && ch instanceof QuicStreamChannel qsc) {
path = path.replace("{localAddress}", resolveIfNecessary(qsc.parent().localAddress()));
path = path.replace("{remoteAddress}", resolveIfNecessary(qsc.parent().remoteAddress()));
path = path.replace("{localAddress}", resolveIfNecessary(qsc.parent().localSocketAddress()));
path = path.replace("{remoteAddress}", resolveIfNecessary(qsc.parent().remoteSocketAddress()));
}
path = path.replace("{random}", Long.toHexString(ThreadLocalRandom.current().nextLong()));
path = path.replace("{timestamp}", Instant.now().toString());
Expand All @@ -260,7 +260,7 @@ void insertPcapLoggingHandler(Channel ch, String qualifier) {
PcapWriteHandler.Builder builder = PcapWriteHandler.builder();

if (quic && ch instanceof QuicStreamChannel qsc) {
builder.forceTcpChannel((InetSocketAddress) qsc.parent().localAddress(), (InetSocketAddress) qsc.parent().remoteAddress(), true);
builder.forceTcpChannel((InetSocketAddress) qsc.parent().localSocketAddress(), (InetSocketAddress) qsc.parent().remoteSocketAddress(), true);
}

ch.pipeline().addLast(builder.build(new FileOutputStream(path)));
Expand Down

0 comments on commit 7089853

Please sign in to comment.