clean remove debug spew outside http2
authorAndy Green <andy.green@linaro.org>
Sat, 1 Nov 2014 00:41:02 +0000 (08:41 +0800)
committerAndy Green <andy.green@linaro.org>
Sat, 1 Nov 2014 00:41:02 +0000 (08:41 +0800)
Found by Drew Noakes at
https://github.com/warmcat/libwebsockets/issues/190

Signed-off-by: Andy Green <andy.green@linaro.org>
lib/server.c

index 88a1920..1c6afd2 100644 (file)
@@ -374,8 +374,6 @@ int lws_handshake_server(struct libwebsocket_context *context,
 
                        return n;
                }
-               
-               lwsl_err(lws_hdr_simple_ptr(wsi, WSI_TOKEN_UPGRADE));
 
                if (!strcasecmp(lws_hdr_simple_ptr(wsi, WSI_TOKEN_UPGRADE),
                                                                "websocket"))