-
Notifications
You must be signed in to change notification settings - Fork 1k
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-2312] multibytes language in URL request to http/https are … #1516
Conversation
I'll update this PR myself as I have a test that is ready for HTTP and now I'm trying to come up with a https one. |
Right now I'm working on making the test work with Http2 upgrade. It seems I solved the AJP test case, I'll let you know when I'm done, and I'll update this PR with my fixes. |
66d95db
to
22658e6
Compare
22658e6
to
51294b4
Compare
I have just updated the PR with my latest fixes. I can see that proxy http2 scenario is not working, and the reason for this is that the code goes through a different path when serving the request, and it ends up not invoking HttpRequestParser. It might be an issue in the tests or in the code, at this point I am not sure, and I will need to investigate further to find out. |
Sometimes tests mimic desired behavior that is expected, because setup is not attainable (it seems) |
55e928e
to
d2ee06d
Compare
…broken in EAP access log.
b4e9488
to
1eda14b
Compare
…so: make the test pass on the modes for HTTP2 upgrade and AJP Signed-off-by: Flavia Rainone <[email protected]> Signed-off-by: fl4via <[email protected]>
The problem in Windows CI is fixed. But now we have a problem in the new LotsOfQueryParamtersTestCase test. Investigating. |
The cause of the failures is explained in the last commit. I decided to comment it there so it can be easily traced back in the future, since it is a corner case that could have been easily overlooked, weren't it for LostOfQueryParametersTestCase |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes look good to me. Side note: I like the addition of final
. :)
…ngs in Http2 upgrade The new code caused ALLOW_UNESCAPED_CHARACTERS_IN_URL to not work correctly in HTTP2 upgrade scenarios when the characters are in the query. The reason for that is that Http2UpgradeHandler passes decode as false when asking Connectors to parse the request path, assuming that otherwise the decode would have been done twice. While that may the true for the parsing of the path, it is not the case when Connectors is parsing query params to set them one-by-one in the HttpServerExchange.This caused LotsOfQueryParametersTestCase to fail when run with HTTP2 Upgrade config. Signed-off-by: Flavia Rainone <[email protected]>
…broken in EAP access log.
ISsue: https://issues.redhat.com/browse/UNDERTOW-2312
I need to check if there are TCs for access log. Im pushing this just for review ATM.