Fix S3 ObjectStore proxy option#26463
Merged
juliusknorr merged 3 commits intonextcloud:masterfrom Jul 14, 2021
Merged
Conversation
Signed-off-by: Maxime Besson <maxime.besson@worteks.com>
Signed-off-by: Maxime Besson <maxime.besson@worteks.com>
rullzer
approved these changes
Apr 11, 2021
Member
rullzer
left a comment
There was a problem hiding this comment.
I can't test but it looks sane
juliusknorr
reviewed
Jun 17, 2021
juliusknorr
reviewed
Jun 17, 2021
Signed-off-by: Maxime Besson <maxime.besson@worteks.com>
juliusknorr
approved these changes
Jun 30, 2021
Contributor
Author
|
Sorry for the delay in fixing this, I did not realize the comment on getProxy() was a blocker. Any chance this PR could get in NC22? |
Member
|
Failures unrelated |
|
Thanks for your first pull request and welcome to the community! Feel free to keep them coming! If you are looking for issues to tackle then have a look at this selection: https://github.com/nextcloud/server/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22 |
Member
|
/backport to stable22 |
|
Hello @juliushaertl |
Member
|
Thanks for the hint, seems the backport bot was not picking that up. Let me retry. |
Member
|
/backport to stable22 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
proxyoption in S3 object store does not current worktries to set an unknown/deprecated "request.options" key when constructing a S3Client. The correct one is "http"
Additionally, S3ObjectTrait::readObject uses fopen() directly, so object store proxy options must also be passed to it