icodening commented on issue #14098: URL: https://github.com/apache/dubbo/issues/14098#issuecomment-2185470138
> > @PaulTan94 @oxsean @icodening @AlbumenJ I have an idea to handle GoAway gracefully, but need a testcase to cover. It's difficult to reproduce the scenario. Can you help? > > Hi, there is a tricky way to control the stream id step in Netty > > 1. Copy the io.netty.handler.codec.http2.DefaultHttp2Connection.java file. > 2. Change the default step(+2) in 'incrementAndGetNextStreamId' and 'incrementExpectedStreamId' method. > 3. Put the changed java file under your project's classpath, ClassLoader will premarily load the class under current project's classpath. It is not recommended to do this as the order of class loading cannot be guaranteed -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
