-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fix Config::adjust() overflow for unlimited RLIMIT_NOFILE (Closes #5244) #5399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
EslaM-X
wants to merge
38
commits into
stellar:master
Choose a base branch
from
EslaM-X:fix-config-adjust-overflow-5244
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 37 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
83bdc8a
Fix Config::adjust() overflow for unlimited RLIMIT_NOFILE
EslaM-X 21ddb8e
Address review feedback: Use fs::getMaxHandles and restore connection…
EslaM-X 6857b32
Fix overflow in fs::getMaxHandles and improve connection adjustment
EslaM-X f9fbc49
Fix typo: vvoid -> void in Config::adjust() definition
EslaM-X ea6e0cc
Fix Config::adjust() overflow and restore deleted functions
EslaM-X 7dd9e10
Update Config.cpp
EslaM-X 472badf
Update Fs.cpp
EslaM-X d196aeb
Update Config.cpp
EslaM-X acafa5f
Refactor getOpenHandleCount for platform-specific limits
EslaM-X 402585f
Update Fs.cpp
EslaM-X 640f18d
Update Fs.cpp
EslaM-X 2d76fb8
Update FsTests.cpp
EslaM-X dbdb9d5
Update ConfigTests.cpp
EslaM-X c33b51e
Update Fs.cpp
EslaM-X d4261c8
Update FsTests.cpp
EslaM-X 1430e9a
Add computeSafeMaxHandles function in Fs.h
EslaM-X adf0089
Update Fs.cpp
EslaM-X c212def
Add tests for computeSafeMaxHandles function
EslaM-X 27d0578
Add tests for Config::adjust() descriptor limit handling
EslaM-X ac03d4e
Update Fs.h
EslaM-X dbfc7b8
Update ConfigTests.cpp
EslaM-X 4edb5ac
Update FsTests.cpp
EslaM-X 613790a
Refine comments in Config::adjust test case
EslaM-X 0da9c66
Improve largeLimit calculation in FsTests.cpp
EslaM-X c4e4c80
Update ConfigTests.cpp
EslaM-X ae8da7a
Update FsTests.cpp
EslaM-X 9157b27
Update ConfigTests.cpp
EslaM-X 5ebe76d
Update ConfigTests.cpp
EslaM-X 79a50c2
Enhance getMaxHandles POSIX test with RLIMIT_NOFILE checks
EslaM-X b0658ef
Update ConfigTests.cpp
EslaM-X 8310179
Refactor ConfigTests by removing redundant test
EslaM-X 9a7434c
Update ConfigTests.cpp
EslaM-X 22f480e
Remove Config::adjust() handle limit test
EslaM-X e3cbac2
Fix Config::adjust() descriptor-limit handling and remove broken test…
EslaM-X 9689eb4
Clamp negative descriptor budgets in Config::adjust()
EslaM-X 78021b0
Apply clang-format to changed C++ sources
EslaM-X 64146ff
Guard overflow-prone rlim_t tests on value bits
EslaM-X b0c9a92
Merge branch 'master' into fix-config-adjust-overflow-5244
EslaM-X File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.