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

Introduce Options for the httpclient #914

Merged
merged 1 commit into from
Jul 1, 2020

Conversation

butonic
Copy link
Contributor

@butonic butonic commented Jun 30, 2020

Currently, slow up and downloads fail because the timeout is currently hardcoded to 10 sec.

This PR allows configuring the HTTPClient as needed. It also introduces timeout and insecure config options for the oc services. I tried not change the behavior or introduce config options when a config struct was not available, eg for the CLI up and download commands.

For mentix I updated the example config.

I also made the oidc client use the rhttp httpclient, so it should also send traces.

@butonic butonic requested a review from labkode as a code owner June 30, 2020 15:19
@butonic butonic force-pushed the make-httpclient-configurable branch from 686920f to 5ecd70f Compare June 30, 2020 15:27
@butonic butonic self-assigned this Jun 30, 2020
@butonic butonic force-pushed the make-httpclient-configurable branch from 5ecd70f to bbb15dc Compare June 30, 2020 15:45
@micbar
Copy link
Member

micbar commented Jul 1, 2020

@butonic Can you rebase?

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
@butonic butonic force-pushed the make-httpclient-configurable branch from bbb15dc to cda1ce5 Compare July 1, 2020 12:59
@labkode labkode merged commit de3394f into cs3org:master Jul 1, 2020
@butonic butonic deleted the make-httpclient-configurable branch July 1, 2020 20:22
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

Successfully merging this pull request may close these issues.

3 participants