ESPAsyncWebServer icon indicating copy to clipboard operation
ESPAsyncWebServer copied to clipboard

small ddos (press F5) crash: async_tcp ....watchdog got triggered

Open Red-Owl opened this issue 1 year ago • 2 comments

multiple request on file'S cause:

E (47645) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time: E (47645) task_wdt: - async_tcp (CPU 0/1) E (47645) task_wdt: Tasks currently running: E (47645) task_wdt: CPU 0: IDLE E (47645) task_wdt: CPU 1: async_tcp E (47645) task_wdt: Aborting.

the server restart. server crash in random where normal webpage read or update websoket data

Red-Owl avatar Jun 06 '24 18:06 Red-Owl

server.serveStatic("/", SD, "/").setCacheControl("max-age=3600");

<-- multiple (many) request cause server panic in async tcp if remove this function and send muliple request server not crash

Red-Owl avatar Jul 09 '24 12:07 Red-Owl

Can you please tell me in which file this function is present ?

StudBoy646 avatar Aug 08 '24 02:08 StudBoy646