[PR #1295] [MERGED] Added a parameter to output body to curldbg option #1906

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

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/1295
Author: @ggtakec
Created: 5/24/2020
Status: Merged
Merged: 5/24/2020
Merged by: @gaul

Base: masterHead: curldbg_dump_body


📝 Commits (1)

  • 8d84da2 Added a parameter to output body to curldbg option

📊 Changes

6 files changed (+98 additions, -7 deletions)

View changed files

📝 doc/man/s3fs.1 (+3 -0)
📝 src/common.h (+10 -1)
📝 src/curl.cpp (+63 -6)
📝 src/curl.h (+6 -0)
📝 src/s3fs.cpp (+12 -0)
📝 src/s3fs_util.cpp (+4 -0)

📄 Description

Relevant Issue (if applicable)

#1289

Details

Added a parameter to output body to curldbg option.

The curldbg option can be specified by curldbg=normal, curldbg=body or the same curldbg as before.
If the parameter is omitted, it is the same as normal.

curldbg or curldbg=normal is the same debug output as before.
When curldbg=body is specified, in addition to this debug output, the request body of CompleteMultipartUpload and the response body of ListObjects are output.

In this PR, output body is limited to a specific API.
In the future, if necessary, we will add APIs or change the APIs to output body output.


🔄 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/1295 **Author:** [@ggtakec](https://github.com/ggtakec) **Created:** 5/24/2020 **Status:** ✅ Merged **Merged:** 5/24/2020 **Merged by:** [@gaul](https://github.com/gaul) **Base:** `master` ← **Head:** `curldbg_dump_body` --- ### 📝 Commits (1) - [`8d84da2`](https://github.com/s3fs-fuse/s3fs-fuse/commit/8d84da29064e803f253244259504f6ac605877da) Added a parameter to output body to curldbg option ### 📊 Changes **6 files changed** (+98 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `doc/man/s3fs.1` (+3 -0) 📝 `src/common.h` (+10 -1) 📝 `src/curl.cpp` (+63 -6) 📝 `src/curl.h` (+6 -0) 📝 `src/s3fs.cpp` (+12 -0) 📝 `src/s3fs_util.cpp` (+4 -0) </details> ### 📄 Description ### Relevant Issue (if applicable) #1289 ### Details Added a parameter to output `body` to curldbg option. The curldbg option can be specified by `curldbg=normal`, ` curldbg=body` or the same `curldbg` as before. If the parameter is omitted, it is the same as `normal`. `curldbg` or` curldbg=normal` is the same debug output as before. When `curldbg=body` is specified, in addition to this debug output, the request body of `CompleteMultipartUpload` and the response body of `ListObjects` are output. In this PR, output body is limited to a specific API. In the future, if necessary, we will add APIs or change the APIs to output body output. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 02:02:44 +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#1906
No description provided.