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
if (proto == NULL && stubws->robust.reopen) {
fdev = stubws->robust.reopen(stubws->robust.closure);
if (fdev != NULL)
- proto = afb_stub_ws_create_proto(stubws, fdev, 0);
+ proto = afb_stub_ws_create_proto(stubws, fdev, 1);
}
return proto;
}