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:50:43 +0000 (16:50 +0200)
commitec68c44857603c9f5bb77a44d8163d837ac5a55a
tree9bbe6ff11ee8f680796091e6e8648a8c4e9a3740
parent4ae97e8484cb2fae99a3a6992a7fab093c6aff75
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