GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Enable extension of Http3ClientConnectionHandler to support higher-le… · skyguard1/netty@0edad8e

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • codec-http3/src/main/java/io/netty/handler/codec/http3
    • Http3ClientConnectionHandler.java
  • pom.xml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎codec-http3/src/main/java/io/netty/handler/codec/http3/Http3ClientConnectionHandler.java‎

Copy file name to clipboardExpand all lines: codec-http3/src/main/java/io/netty/handler/codec/http3/Http3ClientConnectionHandler.java
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
import java.util.function.LongFunction;
2424

25-
public final class Http3ClientConnectionHandler extends Http3ConnectionHandler {
25+
public class Http3ClientConnectionHandler extends Http3ConnectionHandler {
2626

2727
private final LongFunction<ChannelHandler> pushStreamHandlerFactory;
2828

@@ -89,15 +89,15 @@ public Http3ClientConnectionHandler(@Nullable ChannelHandler inboundControlStrea
8989
}
9090

9191
@Override
92-
void initBidirectionalStream(ChannelHandlerContext ctx, QuicStreamChannel channel) {
92+
protected void initBidirectionalStream(ChannelHandlerContext ctx, QuicStreamChannel channel) {
9393
// See https://datatracker.ietf.org/doc/html/rfc9114#name-bidirectional-streams
9494
// https://datatracker.ietf.org/doc/html/rfc9114#section-6.1-3
9595
Http3CodecUtils.connectionError(ctx, Http3ErrorCode.H3_STREAM_CREATION_ERROR,
9696
"Server initiated bidirectional streams are not allowed", true);
9797
}
9898

9999
@Override
100-
void initUnidirectionalStream(ChannelHandlerContext ctx, QuicStreamChannel streamChannel) {
100+
protected void initUnidirectionalStream(ChannelHandlerContext ctx, QuicStreamChannel streamChannel) {
101101
final long maxTableCapacity = maxTableCapacity();
102102
streamChannel.pipeline().addLast(
103103
new Http3UnidirectionalStreamInboundClientHandler(codecFactory, nonStandardSettingsValidator,
Collapse file

‎pom.xml‎

Copy file name to clipboardExpand all lines: pom.xml
+12Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1302,6 +1302,18 @@
13021302
</revapi.filter>
13031303
<revapi.differences>
13041304
<differences>
1305+
<item>
1306+
<ignore>true</ignore>
1307+
<code>java.method.visibilityIncreased</code>
1308+
<new>method void io.netty.handler.codec.http3.Http3ClientConnectionHandler::initBidirectionalStream(io.netty.channel.ChannelHandlerContext, io.netty.handler.codec.quic.QuicStreamChannel)</new>
1309+
<justification>Allow applications to customize initialization of bidirectional streams by subclassing.</justification>
1310+
</item>
1311+
<item>
1312+
<ignore>true</ignore>
1313+
<code>java.method.visibilityIncreased</code>
1314+
<new>method void io.netty.handler.codec.http3.Http3ClientConnectionHandler::initUnidirectionalStream(io.netty.channel.ChannelHandlerContext, io.netty.handler.codec.quic.QuicStreamChannel)</new>
1315+
<justification>Allow applications to customize initialization of unidirectional streams by subclassing.</justification>
1316+
</item>
13051317
<item>
13061318
<ignore>true</ignore>
13071319
<code>java.class.externalClassExposedInAPI</code>

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.