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 — Comparing netty-4.1.124.Final...netty-4.1.125.Final · netty/netty

Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: netty/netty
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading

Uh oh!

There was an error while loading. Please reload this page.

base: netty-4.1.124.Final
Loading
Loading
...
head repository: netty/netty
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading

Uh oh!

There was an error while loading. Please reload this page.

compare: netty-4.1.125.Final
Loading
Loading
  • 18 commits
  • 105 files changed
  • 7 contributors

Commits on Aug 13, 2025

  1. [maven-release-plugin] prepare for next development iteration

    @netty-project-bot
    netty-project-bot committed Aug 13, 2025
    Configuration menu
    • View commit details
    • Copy full SHA for 3e5e42b
    • Browse repository at this point
    Copy the full SHA
    3e5e42b View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2025

  1. Make org.graalvm.nativeimage:svm optional in netty-common (#15558)

    Motivation:
    
    The netty-common manifest lists com.oracle.svm.core.annotate as a hard
    OSGi dependency, preventing resolving netty-common in OSGi without also
    supplying org.graalvm.nativeimage:svm as a dependency.
    
    Modifications:
    
    Change the svm dependency to be 'optional' rather than 'provided', so
    that maven-bundle-plugin marks the related import entry for
    com.oracle.svm.core.annotate as optional in the manifest Import-Package
    declaration.
    
    Result:
    
    netty-common lists com.oracle.svm.core.annotate as an optional import
    and can be resolved without org.graalvm.nativeimage:svm dependency.
    
    Fixes #15557
    @gemmellr
    gemmellr authored Aug 14, 2025
    Configuration menu
    • View commit details
    • Copy full SHA for 9aa3f51
    • Browse repository at this point
    Copy the full SHA
    9aa3f51 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2025

  1. Exposed encoderEnforceMaxRstFramesPerWindow for HttpToHttp2Connection…

    …HandlerBuilder (#15560)
    
    ### Motivation:
    To expose APIs under AbstractHttp2ConnectionHandlerBuilder to be able to
    use with the HttpToHttp2ConnectionHandlerBuilder
    
    ### Modification:
    Exposed encoderEnforceMaxRstFramesPerWindow under
    HttpToHttp2ConnectionHandlerBuilder, updated enforceNonCodecConstraints
    for AbstractHttp2ConnectionHandlerBuilder, and updated pom.xml for
    ignoring API change
    
    
    ### Result:
    Fixes #15559
    @isaacrivriv
    isaacrivriv authored Aug 15, 2025
    Configuration menu
    • View commit details
    • Copy full SHA for b953048
    • Browse repository at this point
    Copy the full SHA
    b953048 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2025

  1. Always load BouncyCastle classes with the Netty classloader (#15533)

    Motivation:
    Between Java security settings, different classloaders, and native image
    compilation, loading the BouncyCastle classes are somewhat complicated.
    
    Modification:
    Collect all the BouncyCastle class loading and availability checking in
    a new BouncyCastleUtil class. Make use of this new class in our
    BouncyCastle implementations of ALPN, PEM reading, and self-signed
    certificate generation.
    
    Result:
    We should hopefully now be loading the classes correctly in all cases.
    
    Fixes #15508
    
    ---------
    
    Co-authored-by: Norman Maurer <[email protected]>
    @chrisvest @normanmaurer
    chrisvest and normanmaurer authored Aug 18, 2025
    Configuration menu
    • View commit details
    • Copy full SHA for 623d204
    • Browse repository at this point
    Copy the full SHA
    623d204 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2025

  1. HTTP2: Increase sleep time in test

    Motivation:
    
    The test used a too small sleep and so could be racy.
    
    Modifications:
    
    Increase sleep time
    
    Result:
    
    More stable test
    @normanmaurer
    normanmaurer committed Aug 19, 2025
    Configuration menu
    • View commit details
    • Copy full SHA for 5aa56db
    • Browse repository at this point
    Copy the full SHA
    5aa56db View commit details
    Browse the repository at this point in the history
  2. Always load BouncyCastle classes with the Netty classloader (#15533) … (

    #15570)
    
    …(#15569)
    
    Motivation:
    Between Java security settings, different classloaders, and native image
    compilation, loading the BouncyCastle classes are somewhat complicated.
    
    Modification:
    Collect all the BouncyCastle class loading and availability checking in
    a new BouncyCastleUtil class. Make use of this new class in our
    BouncyCastle implementations of ALPN, PEM reading, and self-signed
    certificate generation.
    
    Result:
    We should hopefully now be loading the classes correctly in all cases.
    
    Fixes #15508
    
    Co-authored-by: Chris Vest <[email protected]>
    @normanmaurer @chrisvest
    normanmaurer and chrisvest authored Aug 19, 2025
    Configuration menu
    • View commit details
    • Copy full SHA for 535b50f
    • Browse repository at this point
    Copy the full SHA
    535b50f View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2025

  1. Make DatagramMulticastTest handlers sharable (#15579)

    Motivation:
    The test has a retry loop, so the handlers need to be sharable.
    
    Modification:
    Make the two handlers used in the test sharable.
    
    Result:
    The test should no longer fail with exceptions like the following:
    
    ```
    2025-08-20T21:27:15.4437273Z [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.004 s <<< FAILURE! -- in io.netty.testsuite.transport.socket.DatagramMulticastTest
    2025-08-20T21:27:15.4438772Z [ERROR] io.netty.testsuite.transport.socket.DatagramMulticastTest.testMulticast(TestInfo) -- Time elapsed: 0.004 s <<< ERROR!
    2025-08-20T21:27:15.4440833Z io.netty.channel.ChannelPipelineException: io.netty.testsuite.transport.socket.DatagramMulticastTest$2 is not a @sharable handler, so can't be added or removed multiple times.
    2025-08-20T21:27:15.4442483Z 	at io.netty.channel.DefaultChannelPipeline.checkMultiplicity(DefaultChannelPipeline.java:549)
    2025-08-20T21:27:15.4443649Z 	at io.netty.channel.DefaultChannelPipeline.internalAdd(DefaultChannelPipeline.java:166)
    2025-08-20T21:27:15.4444995Z 	at io.netty.channel.DefaultChannelPipeline.addLast(DefaultChannelPipeline.java:227)
    2025-08-20T21:27:15.4446024Z 	at io.netty.channel.DefaultChannelPipeline.addLast(DefaultChannelPipeline.java:330)
    2025-08-20T21:27:15.4447045Z 	at io.netty.channel.DefaultChannelPipeline.addLast(DefaultChannelPipeline.java:319)
    2025-08-20T21:27:15.4447883Z 	at io.netty.bootstrap.Bootstrap.init(Bootstrap.java:276)
    2025-08-20T21:27:15.4448695Z 	at io.netty.bootstrap.AbstractBootstrap.initAndRegister(AbstractBootstrap.java:327)
    2025-08-20T21:27:15.4449842Z 	at io.netty.bootstrap.AbstractBootstrap.doBind(AbstractBootstrap.java:288)
    2025-08-20T21:27:15.4450714Z 	at io.netty.bootstrap.AbstractBootstrap.bind(AbstractBootstrap.java:284)
    2025-08-20T21:27:15.4451792Z 	at io.netty.testsuite.transport.socket.DatagramMulticastTest.testMulticast(DatagramMulticastTest.java:93)
    2025-08-20T21:27:15.4453100Z 	at io.netty.testsuite.transport.socket.DatagramMulticastTest$1.run(DatagramMulticastTest.java:58)
    2025-08-20T21:27:15.4454240Z 	at io.netty.testsuite.transport.socket.DatagramMulticastTest$1.run(DatagramMulticastTest.java:55)
    2025-08-20T21:27:15.4455378Z 	at io.netty.testsuite.transport.AbstractComboTestsuiteTest.run(AbstractComboTestsuiteTest.java:52)
    2025-08-20T21:27:15.4456615Z 	at io.netty.testsuite.transport.socket.DatagramMulticastTest.testMulticast(DatagramMulticastTest.java:55)
    2025-08-20T21:27:15.4457594Z 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    2025-08-20T21:27:15.4458245Z 	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
    2025-08-20T21:27:15.4459103Z 	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
    2025-08-20T21:27:15.4459917Z 	Suppressed: java.util.concurrent.CompletionException: Rethrowing promise failure cause
    2025-08-20T21:27:15.4460952Z 		at io.netty.util.concurrent.DefaultPromise.rethrowIfFailed(DefaultPromise.java:685)
    2025-08-20T21:27:15.4461893Z 		at io.netty.util.concurrent.DefaultPromise.sync(DefaultPromise.java:419)
    2025-08-20T21:27:15.4462736Z 		at io.netty.channel.DefaultChannelPromise.sync(DefaultChannelPromise.java:119)
    2025-08-20T21:27:15.4463601Z 		at io.netty.channel.DefaultChannelPromise.sync(DefaultChannelPromise.java:30)
    2025-08-20T21:27:15.4464208Z 		... 8 more
    ```
    @chrisvest @normanmaurer
    chrisvest authored and normanmaurer committed Aug 21, 2025
    Configuration menu
    • View commit details
    • Copy full SHA for a9eb52e
    • Browse repository at this point
    Copy the full SHA
    a9eb52e View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2025

  1. Don't try to handle incomplete upgrade request (#15581) (#15585)

    Motivation:
    
    HttpServerUpgradeHandler checks whether a request is an upgrade request,
    and if the upgrade request is incomplete, uses HttpObjectAggregator to
    aggregate it. When aggregation is complete, the upgrade is performed,
    under the assumption that the aggregated request is an upgrade request.
    
    In certain scenarios, HttpObjectAggregator can refuse to aggregate a
    request, but HttpServerUpgradeHandler does not realize this. If a new
    request comes in afterwards and is aggregated, that new request does not
    have to be an upgrade request. This leads to an NPE in the upgrade
    method because the `Upgrade` header is missing.
    
    In this PR's test case, the first request fails to aggregate because it
    has an invalid `Expect` header. I'm not sure if there are other cases,
    but HttpObjectAggregator has a lot of escape hatches.
    
    Modification:
    
    In HttpServerUpgradeHandler, override beginAggregation. This method is
    called once the final decision to aggregate has been made. This now sets
    a flag that tells HttpServerUpgradeHandler that it really should handle
    the request as an upgrade.
    
    Result:
    
    No NPE.
    
    Discovered by fuzzing.
    
    Co-authored-by: Jonas Konrad <[email protected]>
    @normanmaurer @yawkat
    normanmaurer and yawkat authored Aug 26, 2025
    Configuration menu
    • View commit details
    • Copy full SHA for a2811e3
    • Browse repository at this point
    Copy the full SHA
    a2811e3 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2025

  1. Update to latest netty-tcnative release (#15587) (#15590)

    Motivation:
    
    We released 2.0.73.Final, its time to upgrade
    
    Modifications:
    
    Upgrade to latest tcnative release
    
    Result:
    
    Use latest tcnative release
    @normanmaurer
    normanmaurer authored Aug 28, 2025
    Configuration menu
    • View commit details
    • Copy full SHA for f1cad0d
    • Browse repository at this point
    Copy the full SHA
    f1cad0d View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2025

  1. Replace Java23 with Java24 for CI testing (#15102) (#15158)

    Motivation:
    
    Java24 was released so we should test with it.
    
    Modifications:
    
    - Replace Java23 for testing with Java24
    - Add profile to pom.xml
    
    Result:
    
    CI runs testsuite on Java24
    
    ---------
    
    Co-authored-by: Chris Vest <[email protected]>
    @normanmaurer @chrisvest
    normanmaurer and chrisvest authored Aug 30, 2025
    Configuration menu
    • View commit details
    • Copy full SHA for 864a569
    • Browse repository at this point
    Copy the full SHA
    864a569 View commit details
    Browse the repository at this point in the history
  2. Drop unknown frame on missing stream (#15592) (#15595)

    Motivation:
    
    Receiving an unknown frame on a stream that is in 'idle' state (i.e. not
    created) would produce a NullPointerException.
    
    Modification:
    
    If an unknown frame is received and there is no associated stream, drop
    that frame. This is in accordance with [RFC
    9113](https://httpwg.org/specs/rfc9113.html#StreamStates):
    
    > Receipt of frames for which the semantics are unknown cannot be
    treated as an error, as the conditions for sending and receiving those
    frames are also unknown
    
    Another option would be to create the stream.
    
    Result:
    
    No NPE.
    
    Found by fuzzing.
    
    Co-authored-by: Jonas Konrad <[email protected]>
    @normanmaurer @yawkat
    normanmaurer and yawkat authored Aug 30, 2025
    Configuration menu
    • View commit details
    • Copy full SHA for 5e62bd4
    • Browse repository at this point
    Copy the full SHA
    5e62bd4 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2025

  1. Fix IllegalReferenceCountException on invalid upgrade response (#15602)…

    … (#15606)
    
    Motivation:
    
    When HttpClientUpgradeHandler receives a response with an invalid
    upgrade header, it would release the response but still keep it in the
    `out` list. Downstream code would then get an
    IllegalReferenceCountException when releasing the response.
    
    Modification:
    
    Remove unnecessary release. I don't think it's ever appropriate.
    
    Result:
    
    No IllegalReferenceCountException.
    
    Found by fuzzing
    
    ---------
    
    Co-authored-by: Jonas Konrad <[email protected]>
    @normanmaurer @yawkat
    normanmaurer and yawkat authored Sep 2, 2025
    Configuration menu
    • View commit details
    • Copy full SHA for bcd70f0
    • Browse repository at this point
    Copy the full SHA
    bcd70f0 View commit details
    Browse the repository at this point in the history
  2. Update JDK releases to latest patch release (#15601) (#15605)

    Motivation:
    
    We should use latest JDK releases on CI
    
    Modifications:
    
    Update to latest versions
    
    Result:
    
    Use latest JDK releases while building on CI
    @normanmaurer
    normanmaurer authored Sep 2, 2025
    Configuration menu
    • View commit details
    • Copy full SHA for 105fedc
    • Browse repository at this point
    Copy the full SHA
    105fedc View commit details
    Browse the repository at this point in the history
  3. Update maven-surefire-plugin (#15186) (#15191)

    Motivation:
    
    We used an outdated version, let's update
    
    Modifications:
    
    Update to 3.5.3
    
    Result:
    
    Use latest version of plugin
    
    ---------
    
    Co-authored-by: Chris Vest <[email protected]>
    @normanmaurer @chrisvest
    normanmaurer and chrisvest authored Sep 2, 2025
    Configuration menu
    • View commit details
    • Copy full SHA for af9c77e
    • Browse repository at this point
    Copy the full SHA
    af9c77e View commit details
    Browse the repository at this point in the history
  4. Update to latest maven release (#15607)

    Motivation:
    
    We should use the latest maven release for building
    
    Modifications:
    
    Update maven version
    
    Result:
    
    Use latest maven release
    @normanmaurer
    normanmaurer committed Sep 2, 2025
    Configuration menu
    • View commit details
    • Copy full SHA for 151a486
    • Browse repository at this point
    Copy the full SHA
    151a486 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2025

  1. Merge commit from fork

    * Prevent HTTP request/response smuggling via chunk encoding
    
    Motivation:
    Transfer-Encoding: chunked has some strict rules around parsing CR LF delimiters.
    If we are too lenient, it can cause request/response smuggling issues when combined with proxies that are lenient in different ways.
    See https://w4ke.info/2025/06/18/funky-chunks.html for the details.
    
    Modification:
    - Make sure that we reject chunks with chunk-extensions that contain lone Line Feed octets without their preceding Carriage Return octet.
    - Make sure that we issue HttpContent objects with decoding failures, if we decode a chunk and it isn't immediately followed by a CR LF octet pair.
    
    Result:
    Smuggling requests/responses is no longer possible.
    
    Fixes #15522
    
    * Enforce CR LF line separators for HTTP messages by default
    
    But also make it configurable through `HttpDecoderConfig`, and add a system property opt-out to change the default back.
    
    * Remove property for the name of the strict line parsing property
    
    * Remove HeaderParser.parse overload that only takes a buffer argument
    @chrisvest
    chrisvest authored Sep 3, 2025
    Configuration menu
    • View commit details
    • Copy full SHA for 39d3ecf
    • Browse repository at this point
    Copy the full SHA
    39d3ecf View commit details
    Browse the repository at this point in the history
  2. Merge commit from fork (#15612)

    Motivation:
    
    We should ensure our decompressing decoders will fire their buffers
    through the pipeliner as fast as possible and so allow the user to take
    ownership of these as fast as possible. This is needed to reduce the
    risk of OOME as otherwise a small input might produce a large amount of
    data that can't be processed until all the data was decompressed in a
    loop. Beside this we also should ensure that other handlers that uses
    these decompressors will not buffer all of the produced data before
    processing it, which was true for HTTP and HTTP2.
    
    Modifications:
    
    - Adjust affected decoders (Brotli, Zstd and ZLib) to fire buffers
    through the pipeline as soon as possible
    - Adjust HTTP / HTTP2 decompressors to do the same
    - Add testcase.
    
    Result:
    
    Less risk of OOME when doing decompressing
    
    Co-authored-by: yawkat <[email protected]>
    @normanmaurer @yawkat
    normanmaurer and yawkat authored Sep 3, 2025
    Configuration menu
    • View commit details
    • Copy full SHA for 34894ac
    • Browse repository at this point
    Copy the full SHA
    34894ac View commit details
    Browse the repository at this point in the history
  3. [maven-release-plugin] prepare release netty-4.1.125.Final

    @netty-project-bot
    netty-project-bot committed Sep 3, 2025
    Configuration menu
    • View commit details
    • Copy full SHA for 56ea976
    • Browse repository at this point
    Copy the full SHA
    56ea976 View commit details
    Browse the repository at this point in the history
Loading

This comparison is taking too long to generate.

Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.

You can try running this command locally to see the comparison on your machine:
git diff netty-4.1.124.Final...netty-4.1.125.Final

Uh oh!

There was an error while loading. Please reload this page.

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.