diff options
author | Florin Coras <fcoras@cisco.com> | 2022-04-15 16:01:43 -0700 |
---|---|---|
committer | Florin Coras <fcoras@cisco.com> | 2022-04-16 11:03:23 -0700 |
commit | 515aa751120cb73cbf0c4b98373a3b53807ca29b (patch) | |
tree | bf0207024637368b9ad617f1ce6392a625286d62 /src/plugins/hs_apps/vcl/vcl_test_client.c | |
parent | 9fda33da5ca80c0824bed99a2856aa5461751429 (diff) |
hsa: vcl test client allow non-blocking connects
Type: improvement
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: If7dd56e76efc31ed66b865e2c7231d22ec2322b4
Diffstat (limited to 'src/plugins/hs_apps/vcl/vcl_test_client.c')
-rw-r--r-- | src/plugins/hs_apps/vcl/vcl_test_client.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/hs_apps/vcl/vcl_test_client.c b/src/plugins/hs_apps/vcl/vcl_test_client.c index f096e235719..1b149b2d9bc 100644 --- a/src/plugins/hs_apps/vcl/vcl_test_client.c +++ b/src/plugins/hs_apps/vcl/vcl_test_client.c @@ -1077,7 +1077,10 @@ vt_incercept_sigs (void) static void vtc_alloc_workers (vcl_test_client_main_t *vcm) { + vcl_test_main_t *vt = &vcl_test_main; + vcm->workers = calloc (vcm->n_workers, sizeof (vcl_test_client_worker_t)); + vt->wrk = calloc (vcm->n_workers, sizeof (vcl_test_wrk_t)); for (int i = 0; i < vcm->n_workers; i++) { |