Client repeatedly receives the first response #5232
Closed
allbluelai
started this conversation in
Support
Replies: 1 comment 1 reply
-
Hi @allbluelai, thanks for the report. This example was not meant to be run as your modification, so the condition variable boolean value was not updated when the reply was received. As long as the example works as designed, I am moving this ticket to the support section according to the Fast DDS CONTRIBUTING guidelines. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there an already existing issue for this?
Expected behavior
Client receives response correctly
Current behavior
Server output:
Server correctly gives the calculation results.
Client output:
Starting from the second request, subsequent responses are incorrect. Client repeatedly receives the first request.
Steps to reproduce
Download fastrtps.repos and
vcs import --input fastrtps.repos .
My workspace is as follows:
$ tree -L 1 . ├── build.sh ├── fastcdr ├── fastddsgen ├── fastrtps ├── fastrtps.repos ├── foonathan_memory_vendor ├── install └── RequestReplyExample 6 directories, 2 files
Add the following codes to
CalculatorClient.cpp
:Build all libraries and install them. Here, I use the following script:
Fast DDS version/commit
v2.14.3
Platform/Architecture
Other. Please specify in Additional context section.
Transport layer
Default configuration, UDPv4 & SHM
Additional context
$ uname -a Linux john 6.5.0-45-generic #45~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Jul 15 16:40:02 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
XML configuration file
No response
Relevant log output
No response
Network traffic capture
No response
Beta Was this translation helpful? Give feedback.
All reactions