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