[22469] Avoid calling setIPv4 in TCPTransportInterface#5492
Merged
Conversation
cferreiragonz
requested review from
richiprosima
and removed request for
richiprosima
December 13, 2024 11:05
MiguelCompany
self-requested a review
December 13, 2024 12:10
MiguelCompany
requested changes
Dec 13, 2024
cferreiragonz
force-pushed
the
bugfix/copyAddress_in_TCPTransport
branch
from
June 17, 2025 14:18
62a024b to
efa36b3
Compare
cferreiragonz
requested review from
richiprosima
and removed request for
richiprosima
June 17, 2025 14:18
cferreiragonz
force-pushed
the
bugfix/copyAddress_in_TCPTransport
branch
from
June 17, 2025 14:38
efa36b3 to
9fa0768
Compare
cferreiragonz
requested review from
richiprosima
and removed request for
richiprosima
June 17, 2025 14:39
Mario-DL
suggested changes
Jun 18, 2025
cferreiragonz
requested review from
richiprosima
and removed request for
richiprosima
June 18, 2025 13:19
cferreiragonz
requested review from
richiprosima
and removed request for
richiprosima
June 19, 2025 06:38
cferreiragonz
force-pushed
the
bugfix/copyAddress_in_TCPTransport
branch
from
June 19, 2025 06:45
e8d8e7f to
50fea53
Compare
cferreiragonz
requested review from
richiprosima
and removed request for
richiprosima
June 19, 2025 06:45
Signed-off-by: cferreiragonz <carlosferreira@eprosima.com>
Signed-off-by: cferreiragonz <carlosferreira@eprosima.com>
Signed-off-by: cferreiragonz <carlosferreira@eprosima.com>
Signed-off-by: cferreiragonz <carlosferreira@eprosima.com>
Signed-off-by: cferreiragonz <carlosferreira@eprosima.com>
Signed-off-by: cferreiragonz <carlosferreira@eprosima.com>
Signed-off-by: cferreiragonz <carlosferreira@eprosima.com>
Signed-off-by: cferreiragonz <carlosferreira@eprosima.com>
cferreiragonz
force-pushed
the
bugfix/copyAddress_in_TCPTransport
branch
from
June 19, 2025 07:04
50fea53 to
d4ce08c
Compare
cferreiragonz
requested review from
richiprosima
and removed request for
richiprosima
June 19, 2025 07:05
Mario-DL
suggested changes
Jun 19, 2025
Signed-off-by: cferreiragonz <carlosferreira@eprosima.com>
Mario-DL
requested review from
Mario-DL
and removed request for
Mario-DL and
MiguelCompany
June 19, 2025 07:28
MiguelCompany
approved these changes
Jun 19, 2025
Member
|
@Mergifyio backport 3.2.x 2.14.x |
Contributor
✅ Backports have been createdDetails
|
mergify Bot
pushed a commit
that referenced
this pull request
Jun 19, 2025
* Refs #22469: Regression Tests for IPv6 Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #22469: New method copyAddress Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #22469: Fix TCPTransportInterface Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #22469: Apply Review Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #22469: Disable grouping of locators in single channel for TCPv6 Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #22469: Uncrustify Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #22469: Apply review Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #22469: Allow to copyIPv4 between two locators Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #22469: Apply Review 2 Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> --------- Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> (cherry picked from commit f2a55e9) # Conflicts: # include/fastrtps/utils/IPLocator.h # src/cpp/rtps/transport/TCPTransportInterface.cpp
mergify Bot
pushed a commit
that referenced
this pull request
Jun 19, 2025
* Refs #22469: Regression Tests for IPv6 Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #22469: New method copyAddress Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #22469: Fix TCPTransportInterface Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #22469: Apply Review Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #22469: Disable grouping of locators in single channel for TCPv6 Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #22469: Uncrustify Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #22469: Apply review Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #22469: Allow to copyIPv4 between two locators Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #22469: Apply Review 2 Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> --------- Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> (cherry picked from commit f2a55e9)
This was referenced Jun 19, 2025
MiguelCompany
pushed a commit
that referenced
this pull request
Jun 20, 2025
* Refs #22469: Regression Tests for IPv6 * Refs #22469: New method copyAddress * Refs #22469: Fix TCPTransportInterface * Refs #22469: Apply Review * Refs #22469: Disable grouping of locators in single channel for TCPv6 * Refs #22469: Uncrustify * Refs #22469: Apply review * Refs #22469: Allow to copyIPv4 between two locators * Refs #22469: Apply Review 2 --------- (cherry picked from commit f2a55e9) Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> Co-authored-by: Carlos Ferreira González <carlosferreira@eprosima.com>
EugenioCollado
pushed a commit
that referenced
this pull request
Jul 2, 2025
* Refs #22469: Regression Tests for IPv6 Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #22469: New method copyAddress Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #22469: Fix TCPTransportInterface Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #22469: Apply Review Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #22469: Disable grouping of locators in single channel for TCPv6 Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #22469: Uncrustify Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #22469: Apply review Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #22469: Allow to copyIPv4 between two locators Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #22469: Apply Review 2 Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> --------- Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> Signed-off-by: Eugenio Collado <eugeniocollado@eprosima.com>
MiguelCompany
pushed a commit
that referenced
this pull request
Jul 3, 2025
* Refs #22469: Regression Tests for IPv6 * Refs #22469: New method copyAddress * Refs #22469: Fix TCPTransportInterface * Refs #22469: Apply Review * Refs #22469: Disable grouping of locators in single channel for TCPv6 * Refs #22469: Uncrustify * Refs #22469: Apply review * Refs #22469: Allow to copyIPv4 between two locators * Refs #22469: Apply Review 2 --------- Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> Signed-off-by: Eugenio Collado <eugeniocollado@eprosima.com> Co-authored-by: Carlos Ferreira González <carlosferreira@eprosima.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
This PR adds a new method
copyAddresswhich allows to copy the whole address of one locator to another. It uses this method to replace thesetIPv4method ofTCPTransportInteraceintroduced in #5382 which caused undesired warnings.It also excludes
TCPv6cases from this logic, leaving TCPv6 comms as before #5382.@Mergifyio backport 3.1.x 2.14.x
Contributor Checklist
versions.mdfile (if applicable).Reviewer Checklist