Skip to content

Conversation

@PostalBear
Copy link
Contributor

@PostalBear PostalBear commented Nov 19, 2016

Hello,

I discovered that server.connection-timeout has no effect for Tomcat's main connector and default value of 60000 is always used.
I observed this behavior with Spring Boot 1.4.
As far as I can see this happens because org.springframework.boot.autoconfigure.web.ServerProperties.customizeConnectionTimeout modifies only additional Tomcat connectors and keeping main one untouched.

There is also Demo project to illustrate this problem.

PS
I hope this pull request would be helpful.
And thanks for great framework :)

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Nov 19, 2016
@philwebb philwebb added type: bug A general bug and removed status: waiting-for-triage An issue we've not yet triaged labels Nov 22, 2016
@philwebb philwebb added this to the 1.4.3 milestone Nov 22, 2016
philwebb added a commit that referenced this pull request Nov 22, 2016
Update the Tomcat sample to also test that the connection timeout is
set.

See gh-7425
philwebb added a commit that referenced this pull request Nov 22, 2016
* pr/7425:
  Add additional Tomcat timeout test
  Fix connector used to configure connection timeout
@philwebb philwebb closed this in 1ea829e Nov 22, 2016
@PostalBear PostalBear deleted the 1.4.x branch November 23, 2016 06:48
@TejasRawat
Copy link

Is this bug fixed?

@philwebb
Copy link
Member

@TejasRawat We believe so. The status of the issue is closed and the milestone is set to 1.4.3.

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

Successfully merging this pull request may close these issues.

4 participants