Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TransportConfig to control low level transport settings #3041

Merged
merged 2 commits into from
Aug 14, 2024

Commits on Aug 12, 2024

  1. Add TransportConfig to control low level transport settings

    Motivation:
    
    Users need a way to change low-level Netty settings, like
    `AdaptiveRecvByteBufAllocator` parameters. In the future, we can use
    this interface for more similar settings without the need to change
    client/server builder.
    
    Modifications:
    
    - Add `TransportConfig` and `TransportConfigBuilder` in `transport-api`
    module;
    - Add methods on `SingleAddressHttpClientBuilder` and
    `HttpServerBuilder` to let users pass `TransportConfig`;
    - Wire it up to propagate to `Tcp[Client|Server]ChannelInitializer` as
    `TransportConfigInitializer`;
    
    Result:
    
    Users can control `AdaptiveRecvByteBufAllocator` settings.
    idelpivnitskiy committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    a2bbed3 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2024

  1. Update servicetalk-http-netty/src/main/java/io/servicetalk/http/netty…

    …/DefaultHttpServerBuilder.java
    idelpivnitskiy authored Aug 13, 2024
    Configuration menu
    Copy the full SHA
    367d069 View commit details
    Browse the repository at this point in the history