-
Notifications
You must be signed in to change notification settings - Fork 13.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'Reallocating large String(... -> ...)' warning when using WebServer #8872
Comments
Thanks for having revealed an internal misuse of strings. |
If you are using the git version of this core, can you try with #8873 ? (or the unofficial "nightly" alpha release) |
As written in #8873 the change in ESP8266WebServer looks good to me. There is similar issue in ESP8266HTTPClient
if you add multiple headers ... |
The output appears also in the published version 3.1.2 when DEBUG_ESP_PORT is enabled even when Debug Level == none. Example:
|
Hi,
since PR #8821 I get this output from ESP8266WebServer:
It's from this line
Arduino/libraries/ESP8266WebServer/src/ESP8266WebServer-impl.h
Line 433 in be02af0
if
sendHeader()
is used more than once. Like here:https://github.com/khoih-prog/ESP_WiFiManager_Lite/blob/085afdbd7ccfb7e46b1ed9f1cf5c50be29cc3223/src/ESP_WiFiManager_Lite.h#L2771
Is there something we can do against it?
The text was updated successfully, but these errors were encountered: