From 56eef571a0c43b5932b8f26f8b07c0f148171064 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Fri, 11 May 2018 16:43:10 +0800 Subject: [PATCH] mbedtls: allow build with LWS_ROLE_WS=0 --- lib/tls/mbedtls/ssl.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/tls/mbedtls/ssl.c b/lib/tls/mbedtls/ssl.c index 6ae9d255..f311ef50 100644 --- a/lib/tls/mbedtls/ssl.c +++ b/lib/tls/mbedtls/ssl.c @@ -121,8 +121,6 @@ lws_ssl_capable_read(struct lws *wsi, unsigned char *buf, int len) if (wsi->vhost) wsi->vhost->conn_stats.rx += n; - lws_restart_ws_ping_pong_timer(wsi); - /* * if it was our buffer that limited what we read, * check if SSL has additional data pending inside SSL buffers.