From c14f228c37fefaaa6516c09eebad1b1ab90c8069 Mon Sep 17 00:00:00 2001 From: Khoi Hoang <57012152+khoih-prog@users.noreply.github.com> Date: Thu, 6 Oct 2022 19:23:33 -0400 Subject: [PATCH] v1.6.0 to save heap when sending large data ### Releases v1.6.0 1. Support using `CString` to save heap to send `very large data`. Check [request->send(200, textPlainStr, jsonChartDataCharStr); - Without using String Class - to save heap #8](https://github.com/khoih-prog/Portenta_H7_AsyncWebServer/pull/8) 2. Add functions and example `Async_AdvancedWebServer_favicon` to support `favicon.ico` 3. Add multiple examples to demo the new feature 4. Fix issue with slow browsers or network 5. Change license from `MIT` to `GPLv3` to match with original [ESPAsyncWebServer](https://github.com/me-no-dev/ESPAsyncWebServer) license --- src/AsyncWebServer_STM32.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AsyncWebServer_STM32.h b/src/AsyncWebServer_STM32.h index c52ab9b..b2ebba1 100644 --- a/src/AsyncWebServer_STM32.h +++ b/src/AsyncWebServer_STM32.h @@ -422,7 +422,7 @@ class AsyncWebServerRequest void send(AsyncWebServerResponse *response); void send(int code, const String& contentType = String(), const String& content = String()); - void send(int code, const String& contentType, const char *content, bool nonCopyingSend = true); // RSMOD + void send(int code, const String& contentType, const char *content, bool copyingSend = true); // RSMOD void send(Stream &stream, const String& contentType, size_t len, AwsTemplateProcessor callback = nullptr); void send(const String& contentType, size_t len, AwsResponseFiller callback, AwsTemplateProcessor templateCallback = nullptr);