Skip to content

HTTP/2 Cleartext warmup can lead to memory issues on server side #371

@jrauschenbusch

Description

@jrauschenbusch

Describe the bug

As Mittens uses the Golang http2 library, the default of 10 MB is used for Transport#MaxHeaderListSize.

Having a lot of concurrent HTTP/2 streams in place this can lead to potential memory issues on the server side as it was the case here

To Reproduce

Use Mittens together with a Jetty v12 server using the H2C protocol. Check the according memory usage of the server.

Expected behavior

Either a configuration parameter for MaxHeaderListSize or a smaller value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions