-
Notifications
You must be signed in to change notification settings - Fork 25k
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
Update http client version #87491
Update http client version #87491
Conversation
Moves a few Apache HTTP client dependencies to their latest version - httpclient -> 4.5.13 - httpasyncclient -> 4.1.5 - httpcore -> 4.4.13
@dakrone I'm looking at upgrading httpclient / httpcore to the latest available version The move to httpcore 4.4.13 has changed the Is that something that you would be concerned about? Can we safely just change the test to reflect the new behaviour or do we need to do something more? |
I looked at this, I think we can change the test to reflect the new domain list. I don't think this will affect anything otherwise. |
Since apache/httpcomponents-client#203 httpclient handles private suffix rules differently. This change updates RegisteredDomainProcessorTests to reflect those new rules
@dakrone It looks like the change is going to be reasonably extensive, and will undo most of the tests that were added in #82898 Since apache/httpcomponents-client#203 I've pushed 132680c that makes the test pass. Can you confirm that you're happy to have that scope of change in a minor? |
That seems reasonable to me, but maybe @justincr-elastic can take a look since he did the original work on the test? |
@elasticmachine update branch |
Pinging @elastic/es-core-infra (Team:Core/Infra) |
Pinging @elastic/es-data-management (Team:Data Management) |
@elasticmachine update branch |
The tests were added to confirm googleapis.com was an eTLD, and not the same as a DNS address. If the updated HTTP Client version includes updates of its bundled list of eTLDs, then adjusting the tests makes sense. It may have side effects on https://www.elastic.co/guide/en/elasticsearch/reference/current/registered-domain-processor.html, but that is expected. |
There was no bug fix related to adding those tests. The tests were added to confirm how the library is parsing googleapis.com as an eTLD. If the library is paring googleapis.com differently, it is OK to update the tests to reflect that change and make them pass. The tests confirm how it works, and can be used as a reference when questions come up for how the HTTP Client library is parsing eTLDs like googleapis.com. |
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.
LGTM
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.
LGTM also
@elasticmachine update branch |
Grrr, clicked the wrong button :( |
Hi @tvernum, I've created a changelog YAML for you. |
Moves a few Apache HTTP client dependencies to their latest version