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

Moved FastCGIProxyServlet in ee9 to FastCGIProxyHandler in core. #8718

Merged
merged 4 commits into from
Oct 17, 2022

Conversation

sbordet
Copy link
Contributor

@sbordet sbordet commented Oct 16, 2022

Moved TryFilesFilter in ee9 to TryPathsHandler in core. Update Jetty modules to properly setup the class-path in case of proxy usage.

Updated and expanded test cases.

Signed-off-by: Simone Bordet [email protected]

Moved TryFilesFilter in ee9 to TryPathsHandler in core.
Update Jetty modules to properly setup the class-path in case of proxy usage.

Updated and expanded test cases.

Signed-off-by: Simone Bordet <[email protected]>
@sbordet sbordet requested review from gregw and joakime October 16, 2022 20:16
The problem is that fcgi-proxy depends on fcgi-client, so both will be put on the module-path.

However, fcgi-server is used for the tests, it is in the class-path, but depends on fcgi-client that is on the module-path.

Therefore, when a fcgi-server class tries to access a fcgi-client class, JPMS throws because the fcgi-client module does not export to the unnamed module.

Signed-off-by: Simone Bordet <[email protected]>
Copy link
Contributor

@joakime joakime left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think the new stuff on HttpTester is needed.
A few stray comments that can probably be gotten rid of.
Also a few questions about the *.mod testing.

Signed-off-by: Simone Bordet <[email protected]>
@sbordet sbordet requested a review from joakime October 17, 2022 20:10
…d on the fcgi module, which is only used in tests.

Signed-off-by: Simone Bordet <[email protected]>
@sbordet sbordet merged commit 0d07908 into jetty-12.0.x Oct 17, 2022
@sbordet sbordet deleted the jetty-12.0.x-fastcgi-proxy branch October 17, 2022 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants