-
Notifications
You must be signed in to change notification settings - Fork 867
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
fix: Use HttpRequest authority instead of host #6879
fix: Use HttpRequest authority instead of host #6879
Conversation
Use authority method to determine the host name from header instead of using deprecated host method Signed-off-by: Usman Saleem <usman@usmans.info>
Signed-off-by: Usman Saleem <usman@usmans.info>
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.
changelog entry?
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.
it is much simpler!
}); | ||
}); | ||
testContext.awaitCompletion(VERTX_AWAIT_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); | ||
assertThat(testContext.awaitCompletion(VERTX_AWAIT_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS)) | ||
.isTrue(); |
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.
@usmansaleem is this what you mean by the test needing fixing? there was no assertion before?
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.
@macfarla correct, from L220 to L232 as well.
Signed-off-by: Usman Saleem <usman@usmans.info>
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.
better exception handling and much less copypasta!
Signed-off-by: Usman Saleem <usman@usmans.info>
Use HttpRequest authority method to determine the hostname from header instead of using deprecated host method Signed-off-by: Usman Saleem <usman@usmans.info> Signed-off-by: amsmota <antonio.mota@citi.com>
Use HttpRequest authority method to determine the hostname from header instead of using deprecated host method Signed-off-by: Usman Saleem <usman@usmans.info> Signed-off-by: amsmota <antonio.mota@citi.com>
Use HttpRequest authority method to determine the hostname from header instead of using deprecated host method Signed-off-by: Usman Saleem <usman@usmans.info>
Use HttpRequest authority method to determine the hostname from header instead of using deprecated host method Signed-off-by: Usman Saleem <usman@usmans.info>
PR description
fix: Use HttpRequest authority instead of host.
Fixed Issue(s)
Fixes #6878
Thanks for sending a pull request! Have you done the following?
doc-change-required
label to this PR if updates are required.Locally, you can run these tests to catch failures early:
./gradlew build
./gradlew acceptanceTest
./gradlew integrationTest
./gradlew ethereum:referenceTests:referenceTests