afb-stub-ws: fix bug in reconnection 46/24246/1 halibut
authorJosé Bollo <jose.bollo@iot.bzh>
Thu, 12 Mar 2020 15:16:35 +0000 (16:16 +0100)
committerJosé Bollo <jose.bollo@iot.bzh>
Thu, 12 Mar 2020 16:12:42 +0000 (17:12 +0100)
commit6623cb55f38d525407f35642d945a9b1c028deae
treef64d13d67b81a22ef8aae9e8930193dc8864d9e3
parentaeb015becc84a457afd5a5fb82e26dfca0978c83
afb-stub-ws: fix bug in reconnection

When the client reconnected, it used the wrong type
and reconnected as server leading to unexpected
continuations.

Bug-AGL: SPEC-3272

Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Change-Id: I1baac1b65014e840acb6ecedb501fc14abc17ed6
src/afb-stub-ws.c