mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[PR #404] [MERGED] Add curl handler pool to reuse connections #1495
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#1495
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/404
Author: @rockuw
Created: 4/22/2016
Status: ✅ Merged
Merged: 4/26/2016
Merged by: @ggtakec
Base:
master← Head:keep-alive📝 Commits (1)
b78adb4Add curl handler pool to reuse connections📊 Changes
2 files changed (+126 additions, -2 deletions)
View changed files
📝
src/curl.cpp(+93 -2)📝
src/curl.h(+33 -0)📄 Description
Currently s3fs creates a new tcp connection for each request to s3. Together with the fact that curl(or HTTP) defaults to use 'Connection:keep-alive', the client may ends with lots of 'TIME_WAIT' connections:
This patches enables reusing curl handlers and thus utilizes HTTP keep-alive, which has the effects:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.