hs-proxy: Avoid creating a client context 88/26088/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:36:24 +0000 (14:36 +0200)
commit174a3971c4f3276d31ae8428ad5287b1774e9da5
tree00375656c976243e60b5444fbbcc2e8970de7cd7
parent3d3afa16bc3f4e8d15c57cd380b4c0e2fc3c3557
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