Skip to content

Commit

Permalink
Merge QUIC support (Author: @driesboy)
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasGrether committed Mar 4, 2024
1 parent ff732a7 commit 95ee936
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ public class ProxyTransport extends Plugin {
public void onStartup() {
ProtocolCodecs.addUpdater(new CodecUpdater());

try {
Class.forName("io.netty.incubator.codec.quic.QuicheNativeStaticallyReferencedJniMethods");
getLogger().info("QUIC is supported");
} catch (ClassNotFoundException e) {
getLogger().info("QUIC is not supported / shading failed");
}

getLogger().info("ProxyTransport was started.");
getLogger().info("Registered type with name {}", QuicTransportServerInfo.TYPE.getIdentifier());
getLogger().info("Registered type with name {}", TcpTransportServerInfo.TYPE.getIdentifier());
Expand Down

0 comments on commit 95ee936

Please sign in to comment.