Commit 1ae675d8 authored by Volodymyr Yurchenko's avatar Volodymyr Yurchenko
Browse files

Set websocket default timeout values to those used in alien.py

parent 394cd099
......@@ -189,8 +189,8 @@ void TJAlienConnectionManager::MakeWebsocketConnection(TJAlienCredentialsObject
creation_info.vhost_name = "tjalien-root";
creation_info.options |= LWS_SERVER_OPTION_DO_SSL_GLOBAL_INIT;
if(is_ipv4) creation_info.options |= LWS_SERVER_OPTION_DISABLE_IPV6;
creation_info.ws_ping_pong_interval = 60*15;
creation_info.timeout_secs = 5;
creation_info.ws_ping_pong_interval = 20;
creation_info.timeout_secs = 20;
// TODO (nhardi): switch to explicit key/cert contents
// see the context_creation_info
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment