From 4dd023aad0f07c3e2d0c7eb55a6d6779487ca988 Mon Sep 17 00:00:00 2001 From: Khoi Hoang <57012152+khoih-prog@users.noreply.github.com> Date: Wed, 5 Oct 2022 20:27:03 -0400 Subject: [PATCH] v1.5.0 to save heap when sending large data #### Releases v1.5.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) and [All memmove() removed - string no longer destroyed #11](https://github.com/khoih-prog/Portenta_H7_AsyncWebServer/pull/11) 2. Add multiple examples to demo the new feature --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 99bd808..dec13f0 100644 --- a/README.md +++ b/README.md @@ -237,9 +237,9 @@ The best and easiest way is to use `Arduino Library Manager`. Search for `AsyncW ### Manual Install 1. Navigate to [AsyncWebServer_Ethernet](https://github.com/khoih-prog/AsyncWebServer_Ethernet) page. -2. Download the latest release `AsyncWebServer_Ethernet-master.zip`. -3. Extract the zip file to `AsyncWebServer_Ethernet-master` directory -4. Copy the whole `AsyncWebServer_Ethernet-master` folder to Arduino libraries' directory such as `~/Arduino/libraries/`. +2. Download the latest release `AsyncWebServer_Ethernet-main.zip`. +3. Extract the zip file to `AsyncWebServer_Ethernet-main` directory +4. Copy the whole `AsyncWebServer_Ethernet-main` folder to Arduino libraries' directory such as `~/Arduino/libraries/`. ### VS Code & PlatformIO: @@ -1577,7 +1577,7 @@ HTTP EthernetWebServer is @ IP : 192.168.2.188 Following is the debug terminal and screen shot when running example [Async_AdvancedWebServer_MemoryIssues_Send_CString](examples/Async_AdvancedWebServer_MemoryIssues_Send_CString), on `ESP8266_NODEMCU_ESP12E with ESP8266_W5500 Ethernet`, to demonstrate the new and powerful `HEAP-saving` feature -##### Using CString ===> smaller heap (116,280 bytes) +##### Using CString ===> smaller heap (16,280 bytes) ``` Start Async_AdvancedWebServer_MemoryIssues_Send_CString on ESP8266_NODEMCU_ESP12E with ESP8266_W5500 Ethernet