afb-websocket: update websocket protocol
authorJosé Bollo <jose.bollo@iot.bzh>
Fri, 11 Aug 2017 14:46:59 +0000 (16:46 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Fri, 11 Aug 2017 14:53:03 +0000 (16:53 +0200)
commit2e4df370fed59a25d0bc157ccfb4642fb26d223f
treeef48c8ebcd97803231cf93d0df7c67f2c90a7040
parent38dab18424804033b160a2bacc1afc68325359e4
afb-websocket: update websocket protocol

After integration of UPGRADE in libmicrohttpd,
the header "Connection: Upgrade" has to be removed
because it is now sent 2 times.

This caused Webkit to fail to connect its websocket.

Bug-AGL: SPEC-821

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