[PR #2075] [MERGED] Added proxy and proxy_cred_file option #2326

Closed
opened 2026-03-04 02:04:57 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/2075
Author: @ggtakec
Created: 12/4/2022
Status: Merged
Merged: 2/8/2023
Merged by: @gaul

Base: masterHead: curl_proxy_setting


📝 Commits (1)

  • 2d69e2d Added proxy and proxy_cred_file option

📊 Changes

7 files changed (+247 additions, -7 deletions)

View changed files

📝 doc/man/s3fs.1.in (+14 -0)
📝 src/curl.cpp (+145 -0)
📝 src/curl.h (+5 -0)
📝 src/s3fs.cpp (+16 -0)
📝 src/s3fs_help.cpp (+20 -0)
📝 test/integration-test-common.sh (+39 -7)
test/s3proxy_http.conf (+8 -0)

📄 Description

Relevant Issue (if applicable)

#2069

Details

This PR is implemented the 'proxy' and 'proxy_cred_file' options with reference to the 'curl' command.
It is almost equivalent to curl's --proxy, --proxy-user option.

Currently we can't have all the complex options like curl does, so we only implement simple functionality.
The credential for HTTP proxy authentication is loaded username and passphrase from a file instead of options(for secure).

@gaul Testing of this fix is not ready.
Do you have any ideas? (ex. using haproxy)


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/s3fs-fuse/s3fs-fuse/pull/2075 **Author:** [@ggtakec](https://github.com/ggtakec) **Created:** 12/4/2022 **Status:** ✅ Merged **Merged:** 2/8/2023 **Merged by:** [@gaul](https://github.com/gaul) **Base:** `master` ← **Head:** `curl_proxy_setting` --- ### 📝 Commits (1) - [`2d69e2d`](https://github.com/s3fs-fuse/s3fs-fuse/commit/2d69e2dbd5d29f71644bdde871e76477d6b85879) Added proxy and proxy_cred_file option ### 📊 Changes **7 files changed** (+247 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `doc/man/s3fs.1.in` (+14 -0) 📝 `src/curl.cpp` (+145 -0) 📝 `src/curl.h` (+5 -0) 📝 `src/s3fs.cpp` (+16 -0) 📝 `src/s3fs_help.cpp` (+20 -0) 📝 `test/integration-test-common.sh` (+39 -7) ➕ `test/s3proxy_http.conf` (+8 -0) </details> ### 📄 Description ### Relevant Issue (if applicable) #2069 ### Details This PR is implemented the 'proxy' and 'proxy_cred_file' options with reference to the 'curl' command. It is almost equivalent to curl's `--proxy`, `--proxy-user` option. Currently we can't have all the complex options like curl does, so we only implement simple functionality. The credential for HTTP proxy authentication is loaded username and passphrase from a file instead of options(for secure). @gaul Testing of this fix is not ready. Do you have any ideas? (ex. using haproxy) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 02:04:57 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#2326
No description provided.