diff options
author | Aritra Basu <aritrbas@cisco.com> | 2024-08-27 18:05:17 -0700 |
---|---|---|
committer | Aritra Basu <aritrbas@cisco.com> | 2024-08-29 13:51:05 -0700 |
commit | f0e81d247b7cd13b621262f29ed1ae6366b68b78 (patch) | |
tree | 2f5f7bc47c7bca3bea151f61e2d7bc819430400d /src/plugins/hs_apps/vcl/vcl_test_server.c | |
parent | e9bc3320192d72f817379aa4621c1dff15bdee29 (diff) |
vcl: add support to write segments
Type: improvement
Change-Id: Icfdaed6b70b83668127656930afcb4ac3c63b234
Signed-off-by: Aritra Basu <aritrbas@cisco.com>
Diffstat (limited to 'src/plugins/hs_apps/vcl/vcl_test_server.c')
-rw-r--r-- | src/plugins/hs_apps/vcl/vcl_test_server.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/plugins/hs_apps/vcl/vcl_test_server.c b/src/plugins/hs_apps/vcl/vcl_test_server.c index d17a2089ba7..5de53173784 100644 --- a/src/plugins/hs_apps/vcl/vcl_test_server.c +++ b/src/plugins/hs_apps/vcl/vcl_test_server.c @@ -282,11 +282,7 @@ vts_server_process_rx (vcl_test_session_t *conn, int rx_bytes) if (conn->cfg.test == HS_TEST_TYPE_BI) { if (vsm->use_ds) - { - (void) vcl_test_write (conn, conn->ds[0].data, conn->ds[0].len); - if (conn->ds[1].len) - (void) vcl_test_write (conn, conn->ds[1].data, conn->ds[1].len); - } + (void) vcl_test_write_ds (conn); else (void) vcl_test_write (conn, conn->rxbuf, rx_bytes); } |