mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-11-04 13:39:39 +01:00 
			
		
		
		
	TFPCustomHTTPClient: do not reconnect when terminated
This commit is contained in:
		
							parent
							
								
									2efaee6d85
								
							
						
					
					
						commit
						40c359a551
					
				@ -1387,7 +1387,7 @@ begin
 | 
			
		||||
          T:=False;
 | 
			
		||||
        end;
 | 
			
		||||
      end;
 | 
			
		||||
      If Not T Then
 | 
			
		||||
      If Not T and Not Terminated Then
 | 
			
		||||
        ReconnectToServer(CHost,CPort,AIsHttps);
 | 
			
		||||
    Finally
 | 
			
		||||
      // On terminate, we close the request
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user