while (client.connected() && currentTime - previousTime <= timeoutTime)
Hello, in your book I did not find information about why you need to exit the loop by timeout
(Unit 1 - Web Server Introduction)
Can you find out why you need it?
1 Answers
Hi.
Here’s the explanation: https://rntlab.com/question/solved-esp32-web-server-drops-connection-crashes/
Regards,
Sara