mirror of
https://github.com/falk-werner/webfuse
synced 2024-10-27 20:34:10 +00:00
fix: remove reference to deprecated ping_pong_interval
This commit is contained in:
parent
bd88d77236
commit
72915f093d
@ -54,7 +54,6 @@ static struct lws_context * wf_impl_server_context_create(
|
||||
server->info.mounts = &server->mount;
|
||||
server->info.protocols = server->ws_protocols;
|
||||
server->info.vhost_name = server->config.vhost_name;
|
||||
server->info.ws_ping_pong_interval = 10;
|
||||
server->info.options = LWS_SERVER_OPTION_HTTP_HEADERS_SECURITY_BEST_PRACTICES_ENFORCE;
|
||||
server->info.options |= LWS_SERVER_OPTION_EXPLICIT_VHOSTS;
|
||||
|
||||
|
@ -85,7 +85,6 @@ ServerProtocol::Private::Private()
|
||||
info.port = 0;
|
||||
info.protocols = protocols;
|
||||
info.vhost_name = "localhost";
|
||||
info.ws_ping_pong_interval = 10;
|
||||
info.options = LWS_SERVER_OPTION_HTTP_HEADERS_SECURITY_BEST_PRACTICES_ENFORCE;
|
||||
info.options |= LWS_SERVER_OPTION_EXPLICIT_VHOSTS;
|
||||
|
||||
|
@ -153,7 +153,6 @@ WsServer::Private::Private(
|
||||
info.mounts = NULL;
|
||||
info.protocols =ws_protocols;
|
||||
info.vhost_name = "localhost";
|
||||
info.ws_ping_pong_interval = 10;
|
||||
info.options = LWS_SERVER_OPTION_HTTP_HEADERS_SECURITY_BEST_PRACTICES_ENFORCE;
|
||||
info.options |= LWS_SERVER_OPTION_EXPLICIT_VHOSTS;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user