Visitar URL original
server.tomcat.keep-alive-timeout is not applied to HTTP/2 · Issue #30267 · spring-projects/spring-boot · GitHub
Skip to content

server.tomcat.keep-alive-timeout is not applied to HTTP/2 #30267

Closed

Description

@aplatt

Enhancement

I discovered that setting server.tomcat.keep-alive-timeout value in application.properties only set the value for the HTTP/1.1 protocol. The value for HTTP/2 remained at 20s. I needed to set the value for HTTP/2 explicitly using a customizer. I think it would be sensible for Spring Boot to expose a property that could be set.

Activity

  1. modified the milestones: 2.7.0-M3, 2.7.x, 2.6.x, 2.5.x on Mar 17, 2022
  2. changed the title [-]Add configuration properties for configuring Tomcat's keep-alive timeout for the HTTP/2 protocol[/-] [+]server.tomcat.keep-alive-timeout is not applied to HTTP/2[/+] on Mar 17, 2022
  3. self-assigned this
    on Mar 18, 2022
  4. modified the milestones: 2.5.x, 2.5.11 on Mar 18, 2022
  5. added a commit that references this issue on Mar 18, 2022
    1669062
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions