My DSL ISP had a weird outage the last 2 days.
Accessing https sites did not work, while http worked fine. Also tls did not work like in SMTP StartTls.
I disabled StartTls and then could send emails.
I have not understood the actual reason, but took that rare opportunity to check my FMX apps.
It uses TIdHTTP accessing a https webpage
I already had set ConnectTimeout:= 2000;
but it still blocked.
Setting ReadTimeout:= 8000; helped, it timed out after 11 sec. It was always 3 sec longer than ReadTimeout.
Perfect on Windows!
But on Android ReadTimeout did not help , it still blocked forever.
I tried Berlin (Indy 10.6.2.5341) and Seattle (Indy 10.6.2.5467)
Q:
Is there a solution to get a timeout on Android?
Unfortunately I can't test this scenario anymore, my ISP now works normally again
Accessing https sites did not work, while http worked fine. Also tls did not work like in SMTP StartTls.
I disabled StartTls and then could send emails.
I have not understood the actual reason, but took that rare opportunity to check my FMX apps.
It uses TIdHTTP accessing a https webpage
I already had set ConnectTimeout:= 2000;
but it still blocked.
Setting ReadTimeout:= 8000; helped, it timed out after 11 sec. It was always 3 sec longer than ReadTimeout.
Perfect on Windows!
But on Android ReadTimeout did not help , it still blocked forever.
I tried Berlin (Indy 10.6.2.5341) and Seattle (Indy 10.6.2.5467)
Q:
Is there a solution to get a timeout on Android?
Unfortunately I can't test this scenario anymore, my ISP now works normally again