Avoid occasional response delay when handling HTTP in the websockets surface
This commit is contained in:
committed by
Robin Gareus
parent
0921cf8939
commit
ef512d412d
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user