CTBot icon indicating copy to clipboard operation
CTBot copied to clipboard

Function testConnection is still prone to sudden freeze in 3.0.0 :(

Open hamster66 opened this issue 4 years ago • 1 comments

In my project (on 8266), it is necessary to determine the presence of the Internet once a second. In the current version I use the Pinger.h library to big dns servers like 1.1.1.1 or 8.8.8.8 which works flawlessly. I tried to use the function testConnection from 3.0.0 version instead of pinger, and I get a hard hang after a short time - 20-50 minutes. At the same time, functions getNewMessage and sendMessage seem to work much more stable and I do not observe any hangs on it yet.

hamster66 avatar Oct 20 '20 11:10 hamster66

Hello Hamster66, thank you for your feedbacks. Regarding the CTBot::testConnection() member function, I'll do some test. It is a "creative" way to use that member function (I made it just for an initial test hehe). Cheers Stefano

shurillu avatar Oct 21 '20 06:10 shurillu