Remove exclusion and fix httpclient5 compatibility by Sineaggi · Pull Request #2294 · docker-java/docker-java
Repository navigation
Remove exclusion and fix httpclient5 compatibility - #2294
Merged
eddumelendez merged 2 commits into docker-java:main from Sineaggi:remove-exclusion Feb 26, 2024
Merged
Remove exclusion and fix httpclient5 compatibility #2294 eddumelendez merged 2 commits into docker-java:main from Sineaggi:remove-exclusion
Conversation
Sineaggi commented Jan 10, 2024 · edited Loading
Copy link Copy Markdown
Contributor
With the exclusion as-is, newer versions of apache httpclient fail with ClassNotFoundError.
The main fix here is to avoid subclassing the PlainConnectionSocketFactory, and instead implement the ConnectionSocketFactory interfact directly, delegating to PlainConnectionSocketFactory.INSTANCE where necessary.
Fixes #2290
Sineaggi changed the title Remove exclusion Remove exclusion and fix httpclient5 compatibility Jan 11, 2024 Sineaggi force-pushed the remove-exclusion branch from847b3b1 to
98d30c3
Compare
January 11, 2024 21:59 Sineaggi marked this pull request as ready for review January 11, 2024 22:13 Sineaggi requested a review from a team as a code owner January 11, 2024 22:13 Sineaggi mentioned this pull request Jan 11, 2024 connect docker has error #2290 Closed strangelookingnerd mentioned this pull request Jan 16, 2024 Update org.apache.httpcomponents.client5:httpclient5 to >= 5.3.1 #2262 Closed Sineaggi added 2 commits February 12, 2024 09:39
Remove exclusion
3385388
Handle upstream httpclient changes gracefully
3860ea8
Sineaggi
force-pushed
the
remove-exclusion
branch
from
98d30c3 to
3860ea8
Compare
February 12, 2024 16:39
Sineaggi commented Feb 12, 2024
Copy link Copy Markdown
Contributor
Author
|
Rebased, all checks are green. |
eddumelendez commented Feb 26, 2024
Copy link Copy Markdown
Member
Can you elaborate more on this, please? |
twarner-sofi commented Feb 26, 2024
Copy link Copy Markdown
|
@eddumelendez According to the maintainers of apache http, |
eddumelendez commented Feb 26, 2024
Copy link Copy Markdown
Member
|
Thanks @twarner-sofi ! useful info 👍🏽 |
View reviewed changes
eddumelendez merged commit
3514b3b
into
docker-java : main
Feb 26, 2024
eddumelendez commented Feb 26, 2024
Copy link Copy Markdown
Member
|
Thanks for your contribution, @Sineaggi ! |