Skip to content
Snippets Groups Projects
Commit 5d7d4f76 authored by Florian Fischer's avatar Florian Fischer Committed by Florian Fischer
Browse files

[EchoClient] check for termination more repeatly and remeber the client termination time

* Merge the two echo functions echo and linkedEcho into a single templated
  Client member function _run(). This reduces code duplication but the resulting
  echo loop is less readable because of more if constexpr switches.
* Move more code out of the echo loop into separate functions:
  * unexpected echo message
  * on ECONNRESET handling
  * error handling
  * termination condition
parent 5e441a7e
No related branches found
No related tags found
1 merge request!181[EchoClient] don't include shutdown duration in echo duration
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment