[20589] Set real TCP non_blocking_send limitation#4502
Merged
Conversation
EduPonz
previously approved these changes
Mar 23, 2024
|
@richiprosima please test this |
371a955 to
4a9d4d3
Compare
EduPonz
previously approved these changes
Mar 25, 2024
|
@richiprosima please test this |
Signed-off-by: Jesus Perez <jesusperez@eprosima.com>
Signed-off-by: Jesus Perez <jesusperez@eprosima.com>
Signed-off-by: Jesus Perez <jesusperez@eprosima.com>
Signed-off-by: Jesus Perez <jesusperez@eprosima.com>
Signed-off-by: Jesus Perez <jesusperez@eprosima.com>
4a9d4d3 to
854dd37
Compare
EduPonz
approved these changes
Mar 26, 2024
|
@richiprosima please test this |
EduPonz
approved these changes
Mar 27, 2024
|
@Mergifyio backport 2.13.x 2.10.x 2.6.x |
Contributor
✅ Backports have been createdDetails
|
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 <jesusperez@eprosima.com> * Refs #20589: Readapt test Signed-off-by: Jesus Perez <jesusperez@eprosima.com> * Refs #20589: Fix failing test in macos/linux Signed-off-by: Jesus Perez <jesusperez@eprosima.com> * Refs #20589: Uncrustify Signed-off-by: Jesus Perez <jesusperez@eprosima.com> * Refs #20589: Fix unused variable Signed-off-by: Jesus Perez <jesusperez@eprosima.com> --------- Signed-off-by: Jesus Perez <jesusperez@eprosima.com> (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 <jesusperez@eprosima.com> * Refs #20589: Readapt test Signed-off-by: Jesus Perez <jesusperez@eprosima.com> * Refs #20589: Fix failing test in macos/linux Signed-off-by: Jesus Perez <jesusperez@eprosima.com> * Refs #20589: Uncrustify Signed-off-by: Jesus Perez <jesusperez@eprosima.com> * Refs #20589: Fix unused variable Signed-off-by: Jesus Perez <jesusperez@eprosima.com> --------- Signed-off-by: Jesus Perez <jesusperez@eprosima.com> (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 <jesusperez@eprosima.com> * Refs #20589: Readapt test Signed-off-by: Jesus Perez <jesusperez@eprosima.com> * Refs #20589: Fix failing test in macos/linux Signed-off-by: Jesus Perez <jesusperez@eprosima.com> * Refs #20589: Uncrustify Signed-off-by: Jesus Perez <jesusperez@eprosima.com> * Refs #20589: Fix unused variable Signed-off-by: Jesus Perez <jesusperez@eprosima.com> --------- Signed-off-by: Jesus Perez <jesusperez@eprosima.com> (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 <jesusperez@eprosima.com> * Refs #20589: Readapt test Signed-off-by: Jesus Perez <jesusperez@eprosima.com> * Refs #20589: Fix failing test in macos/linux Signed-off-by: Jesus Perez <jesusperez@eprosima.com> * Refs #20589: Uncrustify Signed-off-by: Jesus Perez <jesusperez@eprosima.com> * Refs #20589: Fix unused variable Signed-off-by: Jesus Perez <jesusperez@eprosima.com> --------- Signed-off-by: Jesus Perez <jesusperez@eprosima.com> (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 <jesusperez@eprosima.com> * Refs #20589: Readapt test Signed-off-by: Jesus Perez <jesusperez@eprosima.com> * Refs #20589: Fix failing test in macos/linux Signed-off-by: Jesus Perez <jesusperez@eprosima.com> * Refs #20589: Uncrustify Signed-off-by: Jesus Perez <jesusperez@eprosima.com> * Refs #20589: Fix unused variable Signed-off-by: Jesus Perez <jesusperez@eprosima.com> --------- Signed-off-by: Jesus Perez <jesusperez@eprosima.com> (cherry picked from commit 33eb8be) Co-authored-by: Jesús Pérez <78275223+jepemi@users.noreply.github.com>
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 <jesusperez@eprosima.com> * Refs #20589: Readapt test Signed-off-by: Jesus Perez <jesusperez@eprosima.com> * Refs #20589: Fix failing test in macos/linux Signed-off-by: Jesus Perez <jesusperez@eprosima.com> * Refs #20589: Uncrustify Signed-off-by: Jesus Perez <jesusperez@eprosima.com> * Refs #20589: Fix unused variable Signed-off-by: Jesus Perez <jesusperez@eprosima.com> --------- Signed-off-by: Jesus Perez <jesusperez@eprosima.com> (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 <jesusperez@eprosima.com> * Refs #20589: Readapt test Signed-off-by: Jesus Perez <jesusperez@eprosima.com> * Refs #20589: Fix failing test in macos/linux Signed-off-by: Jesus Perez <jesusperez@eprosima.com> * Refs #20589: Uncrustify Signed-off-by: Jesus Perez <jesusperez@eprosima.com> * Refs #20589: Fix unused variable Signed-off-by: Jesus Perez <jesusperez@eprosima.com> --------- Signed-off-by: Jesus Perez <jesusperez@eprosima.com> (cherry picked from commit 33eb8be) * Refs #20589: Apply suggestions Signed-off-by: Jesus Perez <jesusperez@eprosima.com> --------- Signed-off-by: Jesus Perez <jesusperez@eprosima.com> Co-authored-by: Jesús Pérez <78275223+jepemi@users.noreply.github.com> Co-authored-by: Jesus Perez <jesusperez@eprosima.com>
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 <jesusperez@eprosima.com> * Refs #20589: Readapt test Signed-off-by: Jesus Perez <jesusperez@eprosima.com> * Refs #20589: Fix failing test in macos/linux Signed-off-by: Jesus Perez <jesusperez@eprosima.com> * Refs #20589: Uncrustify Signed-off-by: Jesus Perez <jesusperez@eprosima.com> * Refs #20589: Fix unused variable Signed-off-by: Jesus Perez <jesusperez@eprosima.com> --------- Signed-off-by: Jesus Perez <jesusperez@eprosima.com>
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 <jesusperez@eprosima.com> Co-authored-by: Jesús Pérez <78275223+jepemi@users.noreply.github.com>
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
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_sendshould 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_sendis set to true.@Mergifyio backport 2.13.x 2.12.x 2.10.x 2.6.x
Contributor Checklist
versions.mdfile (if applicable).Reviewer Checklist