mirror of
				https://github.com/Ylianst/MeshCentral.git
				synced 2025-03-09 15:40:18 +00:00 
			
		
		
		
	Propagate rx_timeout into the ider object
(The session may get closed before the timeout expires if set to longer than the default of 30 seconds)
This commit is contained in:
		
							parent
							
								
									4a516a9f8c
								
							
						
					
					
						commit
						4787df172b
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -2302,7 +2302,10 @@ function performIder() {
 | 
			
		|||
        ider.m.cdrom = scdrom;
 | 
			
		||||
        ider.m.iderStart = 1; // OnReboot = 0, Graceful = 1, Now = 2
 | 
			
		||||
        ider.m.debug = (settings.debuglevel > 0);
 | 
			
		||||
        if (settings.timeout > 0) { ider.m.sectorStats = iderSectorStats; }
 | 
			
		||||
        if (settings.timeout > 0) {
 | 
			
		||||
            ider.m.sectorStats = iderSectorStats;
 | 
			
		||||
            ider.m.rx_timeout = settings.timeout;
 | 
			
		||||
        }
 | 
			
		||||
        //ider.digestRealmMatch = wsstack.comm.digestRealm;
 | 
			
		||||
        //ider.tlsv1only = amtstack.wsman.comm.tlsv1only;
 | 
			
		||||
        ider.Start(settings.hostname, (settings.tls == true) ? 16995 : 16994, settings.username ? 'admin' : settings.username, settings.password, settings.tls);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue