Skip to content

About h2 server config DEFAULT_SETTINGS_MAX_HEADER_LIST_SIZE #3686

@wisdom-yzh

Description

@wisdom-yzh

Version
hyper 1.3.1
h2 0.4.5

Description
Why DEFAULT_SETTINGS_MAX_HEADER_LIST_SIZE for h2 protocol changed from 16MB to 16KB in hyper 1.3.1 ?

In h2 lib and earlier hyper, the default value is 16MB, while in hyper-1.3.1 it changed to 16KB. As a result, some http requests triggered from golang x/net/http2 package with long url or big headers encounter failure http2: request header list larger than peer's advertised limit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions