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

Undertow initialises filters lazily so failures are only discovered when the first request is made #9232

Closed
wilkinsona opened this issue May 15, 2017 · 4 comments
Assignees
Labels
type: bug A general bug
Milestone

Comments

@wilkinsona
Copy link
Member

wilkinsona commented May 15, 2017

By contrast:

This issue is proposing that we also make Undertow behave like Jetty. We can do so by enabling eager filter init on the DeploymentInfo. We might want to expose a server.undertow.eager-filter-init to allow people to switch back easily (or could just use an UndertowDeploymentInfoCustomizer).

@wilkinsona wilkinsona added priority: normal type: bug A general bug for: team-attention An issue we'd like other members of the team to review labels May 15, 2017
@wilkinsona
Copy link
Member Author

I'm not sure if we should fix this in a maintenance release or wait for 2.0. Thoughts?

@philwebb
Copy link
Member

2.0

@philwebb philwebb added this to the 2.0.0.M2 milestone May 17, 2017
@wilkinsona wilkinsona self-assigned this May 22, 2017
@wilkinsona wilkinsona removed the for: team-attention An issue we'd like other members of the team to review label Jun 21, 2017
@ldcsaa
Copy link

ldcsaa commented Jan 29, 2019

Thanks~
But how to let undertow initializes filters on startup just like tomcat in spring-boot-1.5.x ?

@wilkinsona
Copy link
Member Author

Take a look at the commit that closed this issue. If you have any further questions, please follow up on Stack Overflow or Gitter. As mentioned in the guidelines for contributing, we prefer to use GitHub issues only for bugs and enhancements.

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

3 participants