Bugfix max TLS clients

This commit is contained in:
René Linder 2020-11-28 10:57:52 +01:00
parent 3f9d146771
commit e8f9161fad

View file

@ -283,7 +283,7 @@ Module lhs_web
client_id = ltls::WaitTLSSocket(network_server_id) client_id = ltls::WaitTLSSocket(network_server_id)
Debug "New TLS Client:"+Str(client_id) Debug "New TLS Client:"+Str(client_id)
If client_id > 0 If client_id > 0
If count_client <= conf_max_clients If count_client < conf_max_clients
m_clients(Str(client_id))\client_id = client_id m_clients(Str(client_id))\client_id = client_id
m_clients(Str(client_id))\client_do_cli = #CLI_DO_WaitDataReceive m_clients(Str(client_id))\client_do_cli = #CLI_DO_WaitDataReceive
m_clients(Str(client_id))\client_do_srv = #SRV_DO_DataReceive m_clients(Str(client_id))\client_do_srv = #SRV_DO_DataReceive