Send error replies on disconnection 51/16251/2
authorJose Bollo <jose.bollo@iot.bzh>
Mon, 20 Aug 2018 15:45:42 +0000 (17:45 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Thu, 23 Aug 2018 06:35:38 +0000 (08:35 +0200)
commite36f8d572ca660f5c06fe45297d13c7a6818cc65
tree51cf8b93d3d7a636d2f6fbab8057f10ee0f3ef0d
parenta1a507793efff92b35603e4948e9f6dff4fba99c
Send error replies on disconnection

The pending calls receive an error notification
when the server hang up.

Bug-AGL: SPEC-1668

Change-Id: I052dca5e338a7650d7630856e21f1d3a81c6f265
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
src/afb-proto-ws.c
src/afb-stub-ws.c
src/afb-wsj1.c
test/AFB.js
test/monitoring/AFB.js