-
Notifications
You must be signed in to change notification settings - Fork 775
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
[20589] Set real TCP non_blocking_send limitation #4502
Merged
Merged
Conversation
This file contains 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
EduPonz
previously approved these changes
Mar 23, 2024
@richiprosima please test this |
jepemi
force-pushed
the
bugfix/tcp_non_blocking_send_double_limit
branch
from
March 25, 2024 14:48
371a955
to
4a9d4d3
Compare
EduPonz
previously approved these changes
Mar 25, 2024
@richiprosima please test this |
Signed-off-by: Jesus Perez <[email protected]>
Signed-off-by: Jesus Perez <[email protected]>
Signed-off-by: Jesus Perez <[email protected]>
Signed-off-by: Jesus Perez <[email protected]>
Signed-off-by: Jesus Perez <[email protected]>
jepemi
force-pushed
the
bugfix/tcp_non_blocking_send_double_limit
branch
from
March 26, 2024 07:18
4a9d4d3
to
854dd37
Compare
EduPonz
approved these changes
Mar 26, 2024
@richiprosima please test this |
EduPonz
added
ready-to-merge
Ready to be merged. CI and changes have been reviewed and approved.
and removed
ci-pending
PR which CI is running
labels
Mar 27, 2024
EduPonz
approved these changes
Mar 27, 2024
@Mergifyio backport 2.13.x 2.10.x 2.6.x |
✅ Backports have been created
|
mergify bot
pushed a commit
that referenced
this pull request
Mar 27, 2024
* Refs #20589: Set real non_blocking_send limitation Signed-off-by: Jesus Perez <[email protected]> * Refs #20589: Readapt test Signed-off-by: Jesus Perez <[email protected]> * Refs #20589: Fix failing test in macos/linux Signed-off-by: Jesus Perez <[email protected]> * Refs #20589: Uncrustify Signed-off-by: Jesus Perez <[email protected]> * Refs #20589: Fix unused variable Signed-off-by: Jesus Perez <[email protected]> --------- Signed-off-by: Jesus Perez <[email protected]> (cherry picked from commit 33eb8be) # Conflicts: # test/unittest/transport/TCPv4Tests.cpp
11 tasks
mergify bot
pushed a commit
that referenced
this pull request
Mar 27, 2024
* Refs #20589: Set real non_blocking_send limitation Signed-off-by: Jesus Perez <[email protected]> * Refs #20589: Readapt test Signed-off-by: Jesus Perez <[email protected]> * Refs #20589: Fix failing test in macos/linux Signed-off-by: Jesus Perez <[email protected]> * Refs #20589: Uncrustify Signed-off-by: Jesus Perez <[email protected]> * Refs #20589: Fix unused variable Signed-off-by: Jesus Perez <[email protected]> --------- Signed-off-by: Jesus Perez <[email protected]> (cherry picked from commit 33eb8be) # Conflicts: # test/unittest/transport/TCPv4Tests.cpp
11 tasks
mergify bot
pushed a commit
that referenced
this pull request
Mar 27, 2024
* Refs #20589: Set real non_blocking_send limitation Signed-off-by: Jesus Perez <[email protected]> * Refs #20589: Readapt test Signed-off-by: Jesus Perez <[email protected]> * Refs #20589: Fix failing test in macos/linux Signed-off-by: Jesus Perez <[email protected]> * Refs #20589: Uncrustify Signed-off-by: Jesus Perez <[email protected]> * Refs #20589: Fix unused variable Signed-off-by: Jesus Perez <[email protected]> --------- Signed-off-by: Jesus Perez <[email protected]> (cherry picked from commit 33eb8be) # Conflicts: # test/unittest/transport/TCPv4Tests.cpp
11 tasks
JesusPoderoso
pushed a commit
that referenced
this pull request
Mar 30, 2024
* Refs #20589: Set real non_blocking_send limitation Signed-off-by: Jesus Perez <[email protected]> * Refs #20589: Readapt test Signed-off-by: Jesus Perez <[email protected]> * Refs #20589: Fix failing test in macos/linux Signed-off-by: Jesus Perez <[email protected]> * Refs #20589: Uncrustify Signed-off-by: Jesus Perez <[email protected]> * Refs #20589: Fix unused variable Signed-off-by: Jesus Perez <[email protected]> --------- Signed-off-by: Jesus Perez <[email protected]> (cherry picked from commit 33eb8be)
EduPonz
pushed a commit
that referenced
this pull request
Mar 31, 2024
* Refs #20589: Set real non_blocking_send limitation Signed-off-by: Jesus Perez <[email protected]> * Refs #20589: Readapt test Signed-off-by: Jesus Perez <[email protected]> * Refs #20589: Fix failing test in macos/linux Signed-off-by: Jesus Perez <[email protected]> * Refs #20589: Uncrustify Signed-off-by: Jesus Perez <[email protected]> * Refs #20589: Fix unused variable Signed-off-by: Jesus Perez <[email protected]> --------- Signed-off-by: Jesus Perez <[email protected]> (cherry picked from commit 33eb8be) Co-authored-by: Jesús Pérez <[email protected]>
jepemi
added a commit
that referenced
this pull request
Apr 15, 2024
* Refs #20589: Set real non_blocking_send limitation Signed-off-by: Jesus Perez <[email protected]> * Refs #20589: Readapt test Signed-off-by: Jesus Perez <[email protected]> * Refs #20589: Fix failing test in macos/linux Signed-off-by: Jesus Perez <[email protected]> * Refs #20589: Uncrustify Signed-off-by: Jesus Perez <[email protected]> * Refs #20589: Fix unused variable Signed-off-by: Jesus Perez <[email protected]> --------- Signed-off-by: Jesus Perez <[email protected]> (cherry picked from commit 33eb8be)
MiguelCompany
pushed a commit
that referenced
this pull request
Apr 17, 2024
* Set real TCP non_blocking_send limitation (#4502) * Refs #20589: Set real non_blocking_send limitation Signed-off-by: Jesus Perez <[email protected]> * Refs #20589: Readapt test Signed-off-by: Jesus Perez <[email protected]> * Refs #20589: Fix failing test in macos/linux Signed-off-by: Jesus Perez <[email protected]> * Refs #20589: Uncrustify Signed-off-by: Jesus Perez <[email protected]> * Refs #20589: Fix unused variable Signed-off-by: Jesus Perez <[email protected]> --------- Signed-off-by: Jesus Perez <[email protected]> (cherry picked from commit 33eb8be) * Refs #20589: Apply suggestions Signed-off-by: Jesus Perez <[email protected]> --------- Signed-off-by: Jesus Perez <[email protected]> Co-authored-by: Jesús Pérez <[email protected]> Co-authored-by: Jesus Perez <[email protected]>
jepemi
added a commit
that referenced
this pull request
Apr 23, 2024
* Refs #20589: Set real non_blocking_send limitation Signed-off-by: Jesus Perez <[email protected]> * Refs #20589: Readapt test Signed-off-by: Jesus Perez <[email protected]> * Refs #20589: Fix failing test in macos/linux Signed-off-by: Jesus Perez <[email protected]> * Refs #20589: Uncrustify Signed-off-by: Jesus Perez <[email protected]> * Refs #20589: Fix unused variable Signed-off-by: Jesus Perez <[email protected]> --------- Signed-off-by: Jesus Perez <[email protected]>
MiguelCompany
pushed a commit
that referenced
this pull request
Apr 24, 2024
* Refs #20589: Set real non_blocking_send limitation * Refs #20589: Readapt test * Refs #20589: Fix failing test in macos/linux * Refs #20589: Uncrustify * Refs #20589: Fix unused variable --------- Signed-off-by: Jesus Perez <[email protected]> Co-authored-by: Jesús Pérez <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Since TCP actually allocates twice the size of the requested buffer, TCP
non_blocking_send
should not skip a send until this limit is reached.This PR doubles the limit from which a send should not be tried if TCP
non_blocking_send
is set to true.@Mergifyio backport 2.13.x 2.12.x 2.10.x 2.6.x
Contributor Checklist
versions.md
file (if applicable).Reviewer Checklist