From: Shuanglei Tao Date: Thu, 28 Nov 2019 12:46:05 +0000 (+0800) Subject: server: add a tiny timeout to lws_service X-Git-Url: http://git.prime8.dev/?a=commitdiff_plain;h=831379e2bbfe1bb0103ee7779176a2b79f625d2e;p=ttyd.git server: add a tiny timeout to lws_service --- diff --git a/src/server.c b/src/server.c index 2ba0927..e1ee717 100644 --- a/src/server.c +++ b/src/server.c @@ -502,7 +502,7 @@ main(int argc, char **argv) { #endif } } - lws_service(context, 0); + lws_service(context, 10); } lws_context_destroy(context);