Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
bf02d6f
)
hsa: Fix QUIC sessions count calculation
30/22030/4
author
Aloys Augustin
<
[email protected]
>
Thu, 12 Sep 2019 16:04:30 +0000
(18:04 +0200)
committer
Dave Wallace
<
[email protected]
>
Fri, 13 Sep 2019 13:10:49 +0000
(13:10 +0000)
Type: fix
Signed-off-by: Aloys Augustin <
[email protected]
>
Change-Id: Ia53a41a30920f8af7cd00c6f809b32e7cc277b7a
src/plugins/hs_apps/sapi/vpp_echo_proto_quic.c
patch
|
blob
|
history
diff --git
a/src/plugins/hs_apps/sapi/vpp_echo_proto_quic.c
b/src/plugins/hs_apps/sapi/vpp_echo_proto_quic.c
index
41f9cd9
..
01812bd
100644
(file)
--- a/
src/plugins/hs_apps/sapi/vpp_echo_proto_quic.c
+++ b/
src/plugins/hs_apps/sapi/vpp_echo_proto_quic.c
@@
-454,9
+454,7
@@
quic_echo_set_defaults_after_opts_cb ()
em->n_connects = em->n_clients;
em->n_sessions =
- clib_max (1,
- eqm->n_stream_clients) * em->n_clients + eqm->n_stream_clients +
- 1;
+ clib_max (1, eqm->n_stream_clients) * em->n_clients + em->n_clients + 1;
em->n_clients = eqm->n_stream_clients * em->n_clients;
if (em->i_am_master)