me-no-dev / ESPAsyncWebServer

Async Web Server for ESP8266 and ESP32
3.59k stars 1.17k forks source link

Web server stops responding when I use a form with long text #1199

Open joelsernamoreno opened 1 year ago

joelsernamoreno commented 1 year ago

Hello

I am using AsyncWebServer on an ESP32-S2. Currently I have a web form with a text area.

If the text I enter in textarea is small, I have no problem, but if the text is longer, the web server stops responding (no ESP32S2 restart).

This is an example of text that breaks the web server:

photo1661005807

If I use the following smaller text, the web server does not break:

PrintLine Hello World Delay 1000 PrintLine Hello World Delay 1000 PrintLine Hello World Delay 1000 PrintLine end

Here I show you the function that processes the textarea:

Selección_084

Thanks!

barbiani commented 1 year ago

No task delay or yield is allowed in the handlers.

On Sat, Aug 20, 2022, 11:34 Joel Serna Moreno @.***> wrote:

Hello

I am using AsyncWebServer on an ESP32-S2. Currently I have a web form with a text area.

If the text I enter in textarea is small, I have no problem, but if the text is longer, the web server stops responding (no ESP32S2 restart).

This is an example of text that breaks the web server:

[image: photo1661005807] https://user-images.githubusercontent.com/27963913/185751484-c9f889ff-5b43-4d8b-95ef-3b187ee87791.jpeg

If I use the following smaller text, the web server does not break:

PrintLine Hello World Delay 1000 PrintLine Hello World Delay 1000 PrintLine Hello World Delay 1000 PrintLine end

Here I show you the function that processes the textarea:

[image: Selección_084] https://user-images.githubusercontent.com/27963913/185751606-8fef23d9-7682-4085-8cd8-26ae29644837.png

Thanks!

— Reply to this email directly, view it on GitHub https://github.com/me-no-dev/ESPAsyncWebServer/issues/1199, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYLTJFXP2U2ZN6GN4JB3D3V2DUF7ANCNFSM57DKF6SQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

stale[bot] commented 1 year ago

[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.