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

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

Closed
aplatt opened this issue Mar 17, 2022 · 0 comments
Closed

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

aplatt opened this issue Mar 17, 2022 · 0 comments
Assignees
Labels
type: bug A general bug
Milestone

Comments

@aplatt
Copy link

aplatt commented Mar 17, 2022

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.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Mar 17, 2022
@bclozel bclozel added type: bug A general bug and removed status: waiting-for-triage An issue we've not yet triaged labels Mar 17, 2022
@bclozel bclozel modified the milestones: 2.7.0-M3, 2.7.x, 2.6.x, 2.5.x Mar 17, 2022
@wilkinsona wilkinsona 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 Mar 17, 2022
@wilkinsona wilkinsona self-assigned this Mar 18, 2022
@wilkinsona wilkinsona modified the milestones: 2.5.x, 2.5.11 Mar 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

No branches or pull requests

4 participants