diff options
author | Sander Vrijders <[email protected]> | 2016-05-25 18:55:37 +0200 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2016-05-26 14:41:33 +0200 |
commit | 98f5a4cd845035a7fbeaa8ea95e58023c52e2b9c (patch) | |
tree | d8d843e83759caeb805dd415c83bd3fee7e52b51 /src/tools/cbr/cbr_client.c | |
parent | 8ade85d2084433198f050978b2f0ec8347efd37d (diff) | |
download | ouroboros-98f5a4cd845035a7fbeaa8ea95e58023c52e2b9c.tar.gz ouroboros-98f5a4cd845035a7fbeaa8ea95e58023c52e2b9c.zip |
tools: Add threadpool to cbr
This adds a threadpool to cbr, so that it is not overflooded with
client requests.
Diffstat (limited to 'src/tools/cbr/cbr_client.c')
-rw-r--r-- | src/tools/cbr/cbr_client.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/cbr/cbr_client.c b/src/tools/cbr/cbr_client.c index 78b95255..ff7d4057 100644 --- a/src/tools/cbr/cbr_client.c +++ b/src/tools/cbr/cbr_client.c @@ -67,6 +67,7 @@ int client_main(int duration, int size, long rate) if (flow_write(fd, buf, size) == -1) { printf("Failed to write SDU.\n"); + stop = true; continue; } |