Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not crash Executor when send_response fails due to client failure. (…
…ros2#2276) (ros2#2279) * Do not crash Executor when send_response fails due to client failure. Related to ros2/ros2#1253 It is not sane that a faulty client can crash our service Executor, as discussed in the referred issue, if the client is not setup properly, send_response may return RCL_RET_TIMEOUT, we should not throw an error in this case. Signed-off-by: Zang MingJie <zealot0630@gmail.com> * Update rclcpp/include/rclcpp/service.hpp Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com> Signed-off-by: Zang MingJie <zealot0630@gmail.com> * address review comments. Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com> --------- Signed-off-by: Zang MingJie <zealot0630@gmail.com> Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com> Co-authored-by: Zang MingJie <zealot0630@gmail.com> (cherry picked from commit fbe8f28) Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com> Signed-off-by: Ignacio Vizzo <ignacio@dexory.com>
- Loading branch information