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

Ability to provide SocketFactory for http client #272

Open
eblis opened this issue Jun 29, 2023 · 0 comments
Open

Ability to provide SocketFactory for http client #272

eblis opened this issue Jun 29, 2023 · 0 comments

Comments

@eblis
Copy link

eblis commented Jun 29, 2023

Currently there's no way to provide a socket factory for the HttpClient used by Splunk.
In some scenarios - some example when running on a device with multiple networks, some connected to the internet while some without internet it is not possible to specify the correct network to use in order to have internet access.

It would be very nice if users of the library could reconfigure the httpClient to provide their own socket factory.

I've been trying to forcefully (i.e. via reflection) reconfigure the instance of httpClient to another one, but I've had limited success in actually getting the log messages to successfully send so far.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant