mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 23:28:28 +02: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