mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[PR #1233] [MERGED] break recursion when calling GetIAMCredentials #1877
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#1877
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/1233
Author: @rallister
Created: 1/29/2020
Status: ✅ Merged
Merged: 1/31/2020
Merged by: @ggtakec
Base:
master← Head:master📝 Commits (9)
61ae994Update curl.cppc1eaef5Update curl.hb773580Update curl.cpp8b93328Update curl.cpp7316f07added braces019b677Revert "added braces"0c8f371add braces51536acDont insert auth headers when calling IAM meta-data endpoint.f153e54Merge branch 'master' of github.com:rallister/s3fs-fuse📊 Changes
2 files changed (+8 additions, -5 deletions)
View changed files
📝
src/curl.cpp(+7 -4)📝
src/curl.h(+1 -1)📄 Description
Relevant Issue (if applicable)
https://github.com/s3fs-fuse/s3fs-fuse/issues/1196
Details
Added a flag to not insert authHeaders when calling GetIAMCredentials, because they are not needed in this call but also to break recursion which occurs in issue 1196
CheckIAMCredentialUpdate() ->
GetIAMCredentials() ->
RequestPerform() ->
insertAuthHeaders() ----> back to CheckIAMCredentialUpdate()
You might come up with a better way but this quickly got me out of a bind.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.