Bugfix count SSL clients
This commit is contained in:
parent
880246c0fb
commit
3f9d146771
1 changed files with 2 additions and 1 deletions
3
lweb.pbi
3
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))
|
||||
|
|
Loading…
Reference in a new issue