diff --git a/src/examples/websocket_chatserver_example.c b/src/examples/websocket_chatserver_example.c index cc3005a2..cd5940db 100644 --- a/src/examples/websocket_chatserver_example.c +++ b/src/examples/websocket_chatserver_example.c @@ -2241,9 +2241,6 @@ access_handler (void *cls, * It requires the value of the Sec-WebSocket-Key header of the request. * See also: https://tools.ietf.org/html/rfc6455#section-4.2.2 */ - MHD_add_response_header (response, - MHD_HTTP_HEADER_CONNECTION, - "Upgrade"); MHD_add_response_header (response, MHD_HTTP_HEADER_UPGRADE, "websocket");