afb-stub-ws: fix bug in reconnection 44/24244/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:08:47 +0000 (17:08 +0100)
commit7901c6dadaceb37638ab98876e759c4d6f3ea130
tree1664cdf270cfc9f05554b2a081f711fa597b292c
parent9cab553d6ce4e352ba8eb656b0058c7d5336ca73
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