hs-proxy: Avoid creating a client context 91/26091/1
authorMarius Vlad <marius.vlad@collabora.com>
Mon, 15 Feb 2021 11:51:13 +0000 (13:51 +0200)
committerMarius Vlad <marius.vlad@collabora.com>
Wed, 24 Feb 2021 12:37:53 +0000 (14:37 +0200)
commit8d313058dd04585056f6b2926c1ab9a085d8ae0f
treec96ecc421ed0358557e50281ab66c03b86599000
parent0d8820686585bb1225358e43aab282d34d93f7e5
hs-proxy: Avoid creating a client context

The subscribe mechanism requires that the client itself performs the
subscribe (it assumes a unique, distinct afb_req_t type in order to
create the client context) and attempting to handle one,
automatically would not really work, so only use it (the fake sub mechanism)
the keep track of application w/ the help of the client_list.

Bug-AGL: SPEC-3796

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I783614e1db83280878b77b786e4f80fccd1a74a1
src/hs-proxy.cpp