mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 05:16:00 +03:00
[PR #1766] [MERGED] remove Expect: 100-continue header when requesting an IMDSv2 access t… #2162
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#2162
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/1766
Author: @kamilJ96
Created: 9/8/2021
Status: ✅ Merged
Merged: 9/8/2021
Merged by: @gaul
Base:
master← Head:imdsv2-token-expect-header📝 Commits (1)
62c8718remove Expect: 100-continue header when requesting an IMDSv2 access token📊 Changes
1 file changed (+6 additions, -0 deletions)
View changed files
📝
src/curl.cpp(+6 -0)📄 Description
Relevant Issue (if applicable)
Fixes #1765 by explicitly setting the
Expectheader to be empty before making the request to retrieve the IMDSv2 token from/latest/api/tokenPotentially fixes #1581 as well. Verified on my ec2-instance that the Expect 100 is removed from the request:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.