Avoid occasional response delay when handling HTTP in the websockets surface

This commit is contained in:
Luciano Iam
2020-02-26 23:30:45 +01:00
committed by Robin Gareus
parent 0921cf8939
commit ef512d412d

View File

@@ -398,6 +398,7 @@ WebsocketsServer::lws_callback (struct lws* wsi, enum lws_callback_reasons reaso
case LWS_CALLBACK_HTTP:
server->reject_http_client (wsi);
return 1;
break;
case LWS_CALLBACK_FILTER_NETWORK_CONNECTION: