-
Notifications
You must be signed in to change notification settings - Fork 791
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
[20262] Add non-throwing getters for socket info #4319
Merged
MiguelCompany
merged 4 commits into
master
from
bugfix/tcp_throw_remote_endpoint_not_connected
Feb 8, 2024
Merged
[20262] Add non-throwing getters for socket info #4319
MiguelCompany
merged 4 commits into
master
from
bugfix/tcp_throw_remote_endpoint_not_connected
Feb 8, 2024
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
MiguelCompany
requested changes
Jan 30, 2024
jepemi
force-pushed
the
bugfix/tcp_throw_remote_endpoint_not_connected
branch
from
January 30, 2024 09:42
de4a0a4
to
807f8ba
Compare
@richiprosima please test this |
MiguelCompany
requested changes
Feb 6, 2024
MiguelCompany
approved these changes
Feb 7, 2024
@Mergifyio rebase |
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>
✅ Branch has been successfully rebased |
JesusPoderoso
force-pushed
the
bugfix/tcp_throw_remote_endpoint_not_connected
branch
from
February 8, 2024 11:14
b8aab93
to
fe0ae54
Compare
@richiprosima please test this |
MiguelCompany
deleted the
bugfix/tcp_throw_remote_endpoint_not_connected
branch
February 8, 2024 17:13
cferreiragonz
added a commit
that referenced
this pull request
Mar 11, 2024
Signed-off-by: cferreiragonz <carlosferreira@eprosima.com>
cferreiragonz
added a commit
that referenced
this pull request
Mar 11, 2024
Signed-off-by: cferreiragonz <carlosferreira@eprosima.com>
cferreiragonz
added a commit
that referenced
this pull request
Mar 11, 2024
Signed-off-by: cferreiragonz <carlosferreira@eprosima.com>
cferreiragonz
added a commit
that referenced
this pull request
Mar 11, 2024
Signed-off-by: cferreiragonz <carlosferreira@eprosima.com>
cferreiragonz
added a commit
that referenced
this pull request
Mar 15, 2024
Signed-off-by: cferreiragonz <carlosferreira@eprosima.com>
MiguelCompany
pushed a commit
that referenced
this pull request
Mar 18, 2024
* Protect asio exception hotfix (#4527) * Refs #20599: Handle error code before function call Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Apply suggestion Co-authored-by: Miguel Company <miguelcompany@eprosima.com> --------- Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> Co-authored-by: Miguel Company <miguelcompany@eprosima.com> (cherry picked from commit 08193d5) # Conflicts: # src/cpp/rtps/transport/TCPTransportInterface.cpp * Backport of #4319 && Partial backport of #4300 Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> --------- Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> Co-authored-by: Carlos Ferreira González <carlosferreira@eprosima.com>
elianalf
pushed a commit
that referenced
this pull request
Mar 20, 2024
Signed-off-by: cferreiragonz <carlosferreira@eprosima.com>
EduPonz
pushed a commit
that referenced
this pull request
Mar 20, 2024
* Protect asio exception hotfix (#4527) * Refs #20599: Handle error code before function call Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Apply suggestion Co-authored-by: Miguel Company <miguelcompany@eprosima.com> --------- Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> Co-authored-by: Miguel Company <miguelcompany@eprosima.com> (cherry picked from commit 08193d5) # Conflicts: # src/cpp/rtps/transport/TCPTransportInterface.cpp * Backport of #4319 && Partial backport of #4300 Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> --------- Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> Co-authored-by: Carlos Ferreira González <carlosferreira@eprosima.com>
cferreiragonz
added a commit
that referenced
this pull request
Apr 4, 2024
* Protect asio exception hotfix (#4527) * Refs #20599: Handle error code before function call Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Apply suggestion Co-authored-by: Miguel Company <miguelcompany@eprosima.com> --------- Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> Co-authored-by: Miguel Company <miguelcompany@eprosima.com> (cherry picked from commit 08193d5) * Backport of #4319 && Partial backport of #4300 Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> --------- Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> Co-authored-by: Carlos Ferreira González <carlosferreira@eprosima.com>
cferreiragonz
added a commit
that referenced
this pull request
May 27, 2024
* Protect asio exception hotfix (#4527) * Refs #20599: Handle error code before function call Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Apply suggestion Co-authored-by: Miguel Company <miguelcompany@eprosima.com> --------- Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> Co-authored-by: Miguel Company <miguelcompany@eprosima.com> (cherry picked from commit 08193d5) * Backport of #4319 && Partial backport of #4300 Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> --------- Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> Co-authored-by: Carlos Ferreira González <carlosferreira@eprosima.com>
EduPonz
pushed a commit
that referenced
this pull request
May 29, 2024
* Protect asio exception hotfix (#4527) * Refs #20599: Handle error code before function call Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Apply suggestion Co-authored-by: Miguel Company <miguelcompany@eprosima.com> --------- Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> Co-authored-by: Miguel Company <miguelcompany@eprosima.com> (cherry picked from commit 08193d5) # Conflicts: # src/cpp/rtps/transport/TCPTransportInterface.cpp * Backport of #4319 && Partial backport of #4300 * Protect asio exception hotfix (#4527) * Refs #20599: Handle error code before function call Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Apply suggestion Co-authored-by: Miguel Company <miguelcompany@eprosima.com> --------- Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> Co-authored-by: Miguel Company <miguelcompany@eprosima.com> (cherry picked from commit 08193d5) * Backport of #4319 && Partial backport of #4300 Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> --------- Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> Co-authored-by: Carlos Ferreira González <carlosferreira@eprosima.com> --------- Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> Co-authored-by: Carlos Ferreira González <carlosferreira@eprosima.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
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
In some instances, requesting server info after client connection caused exceptions (transport endpoint is not connected). This behavior was observed after PR #4258.
We now also use ASIO's non-throwing methods for this request, ensuring any errors are appropriately handled.
Contributor Checklist
versions.md
file (if applicable).Reviewer Checklist