diff --git a/lweb.pbi b/lweb.pbi index e7a0cb9..432b032 100644 --- a/lweb.pbi +++ b/lweb.pbi @@ -122,6 +122,7 @@ Module lhs_web #get_handler_prototype ;Welcher Prototype EndEnumeration + Global.i count_SSL_client Global.i server_id Global.i server_mutex = CreateMutex() ;Dieser Mutex dient zu der Sicherheit der Element Liste. Global.i file_cache_mutex = CreateMutex() @@ -273,7 +274,6 @@ Module lhs_web ;* Hauptthread welcher den Netzwerkport verwaltet und den Datenfluss. ;* Erstellt die Subthreads für Clients ;* - Protected.i count_client Protected.i client_id thread_alive = #True @@ -913,6 +913,7 @@ Module lhs_web Wend If m_clients(Str(thread_cli_id))\client_ssl = 1 ltls::CloseTLSSocket(thread_cli_id) + count_SSL_client - 1 EndIf DeleteMapElement(m_clients(), Str(thread_cli_id))