diff options
author | Mauro Sardara <msardara@cisco.com> | 2019-04-16 18:38:07 +0200 |
---|---|---|
committer | Mauro Sardara <msardara@cisco.com> | 2019-04-18 16:56:04 +0000 |
commit | b375370d0f11163da8cb752c4a3f992a89ef80ee (patch) | |
tree | b34e8d92fb616261209a09b89e3538ea94b4c3c3 /utils | |
parent | 564dfea33b993c3ff6572894ef35f91ba37d23ed (diff) |
[HICN-178] Sync send of control messages.v19.04
Change-Id: I9a07c6c806ceba10f80a5f67337dce2eee76120d
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Diffstat (limited to 'utils')
-rw-r--r-- | utils/src/hiperf.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/src/hiperf.cc b/utils/src/hiperf.cc index ddc79d520..681696dbf 100644 --- a/utils/src/hiperf.cc +++ b/utils/src/hiperf.cc @@ -467,6 +467,7 @@ class HIperfClient { void readError(const std::error_code ec) noexcept override { std::cerr << "Error while reading from RTC socket" << std::endl; + client_.io_service_.stop(); } void readSuccess(std::size_t total_size) noexcept override { @@ -509,6 +510,7 @@ class HIperfClient { void readError(const std::error_code ec) noexcept override { std::cerr << "Error " << ec.message() << " while reading from socket" << std::endl; + client_.io_service_.stop(); } void readSuccess(std::size_t total_size) noexcept override { |