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

node, rpc: add ReadHeaderTimeout config option #25338

Merged
merged 1 commit into from Aug 3, 2022

Commits on Jul 19, 2022

  1. eth, rpc: add http.Server ReadHeaderTimeout config

    This change makes http.Server.ReadHeaderTimeout configurable separately
    from ReadTimeout for RPC servers. The default is set to the same as
    ReadTimeout, which in order to cause no change in existing deployments.
    
    This is recommended by the following blog post in order to allow
    mitigation of SLOWLORIS attacks:
    https://simon-frey.com/blog/go-as-in-golang-standard-net-http-config-will-break-your-production/
    Tristan-Wilson committed Jul 19, 2022
    Copy the full SHA
    f57f29c View commit details
    Browse the repository at this point in the history