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

Fix leaking of Apache HTTP client I/O Dispatcher threads #919

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

nfalco79
Copy link
Member

@nfalco79 nfalco79 commented Nov 21, 2024

Change the configured http client provider in scribejava from Apache HTTP Client to JDK HTTP Client, as in the previous implementation with the scribe library. There is no gain in using a client with a pooled connection manager that is destroyed every time a new token is requested.

This commit fix the ClassNotFoundException issue of org.apache.logging.log4j.spi.LoggerAdapter (commons-logging is marked as a scope dependency in the pom-plugin) when scm is used in a scripted pipeline.

@nfalco79 nfalco79 added the bug label Nov 21, 2024
…HTTP Client to JDK HTTP Client, as in the previous implementation with the scribe library. There is no gain in using a client with a pooled connection manager that is destroyed every time a new token is requested.

This commit fix the ClassNotFoundException issue of org.apache.logging.log4j.spi.LoggerAdapter (commons-logging is marked as a scope dependency in the pom-plugin) when scm is used in a scripted pipeline.
@nfalco79 nfalco79 force-pushed the feature/oauth2_connections_leak branch from 5f0ad1f to abbf4c3 Compare November 21, 2024 19:48
@nfalco79 nfalco79 merged commit c8c12e2 into master Nov 21, 2024
19 checks passed
@nfalco79 nfalco79 deleted the feature/oauth2_connections_leak branch November 21, 2024 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant