Is there a POST size limit in WebServer? #9734
rsiemens77
started this conversation in
Question - Community Help
Replies: 2 comments
-
After further testing, it seems likely it's more related to timing - possible timeout? The same length post can sometimes fail and sometimes succeed. So, could be timing related: it's just that a longer post takes longer. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Seems this may have been memory usage related. The WiFi gobbles so much RAM on ESP32. I did some optimization and was able to clear this up when there's more memory available. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have an HTML form with a textarea. It gets posted to the "WebServer" api. When the text area is filled beyond about ~2.5 to 3K, I get errors. Usually the browser reports connection reset. Sometimes I see the stack trace below. Is this related to a size limit somewhere? If so, can I adjust it? Or is there an alternative approach I can use?
`
0x400f6619: String::move(String&) at C:/xif/frameworks/esp-idf-v4.4.7/components/arduino/cores/esp32/WString.cpp:237
0x400f67e2: String::operator=(String&&) at C:/xif/frameworks/esp-idf-v4.4.7/components/arduino/cores/esp32/WString.cpp:277
0x400fa54e: WebServer::_parseRequest(WiFiClient&) at C:/xif/frameworks/esp-idf-v4.4.7/components/arduino/libraries/WebServer/src/Parsing.cpp:217
0x400f8c6f: WebServer::handleClient() at C:/xif/frameworks/esp-idf-v4.4.7/components/arduino/libraries/WebServer/src/WebServer.cpp:302
`
Beta Was this translation helpful? Give feedback.
All reactions