afb-stub-ws: fix bug in reconnection 45/24245/1 9.0.1 icefish/9.0.1 icefish_9.0.1
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:11:04 +0000 (17:11 +0100)
commitb15edc1c48d74f2ad6e9ade577bf6b4945d85eee
tree799efad82a9633384df1a980b87253f4d7ce7abb
parent591f9d339d6467e4b53be561aedda90630a9ddbf
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