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