hs-proxy: Avoid creating a client context 43/26043/3
authorMarius Vlad <marius.vlad@collabora.com>
Mon, 15 Feb 2021 11:51:13 +0000 (13:51 +0200)
committerMarius Vlad <marius.vlad@collabora.com>
Wed, 3 Mar 2021 14:41:47 +0000 (16:41 +0200)
commit8477be85731ea61bf2f4e47948c649a0bbb109d8
tree4df1f7a90dd452f665a8f383b09b9f993e6f76aa
parentf19cfe46d7172b512f06f5acf657b8d56e69a0b3
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