diff options
author | Florin Coras <fcoras@cisco.com> | 2021-05-06 15:32:14 -0700 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2021-05-07 10:46:20 +0000 |
commit | 94a6df005d9e94f3b836ad3c93d1464b4a840499 (patch) | |
tree | c55259ac6ce0e373abf7633353c29ad74e305b26 /src/plugins/hs_apps/proxy.c | |
parent | bd376a8ce8425f45b23074398949e8055de29280 (diff) |
session: connects seg manager is always first
By convention, connects segment manager will be first. Therefore it will
be the one with the first segment wherein lies the app's message queue.
Saves us the trouble of allocating it on first connect, if app started
by listening, and we no longer need to track if it's assignable to a
listener or if it can be removed.
Type: improvement
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Iba9a8ffaab618eeb41ec2144dcfee62d006dc7a2
Diffstat (limited to 'src/plugins/hs_apps/proxy.c')
-rw-r--r-- | src/plugins/hs_apps/proxy.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/hs_apps/proxy.c b/src/plugins/hs_apps/proxy.c index 1a49a0f1f3a..18d6edd6be2 100644 --- a/src/plugins/hs_apps/proxy.c +++ b/src/plugins/hs_apps/proxy.c @@ -282,8 +282,7 @@ proxy_connected_callback (u32 app_index, u32 api_context, static int proxy_add_segment_callback (u32 client_index, u64 segment_handle) { - clib_warning ("called..."); - return -1; + return 0; } static int |