Skip to content
This repository has been archived by the owner on Jan 29, 2023. It is now read-only.

Commit

Permalink
v1.6.0 to save heap when sending large data
Browse files Browse the repository at this point in the history
### 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](khoih-prog/Portenta_H7_AsyncWebServer#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
  • Loading branch information
khoih-prog authored Oct 6, 2022
1 parent d200298 commit 5ec04e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1892,7 +1892,7 @@ You can access the Async Advanced WebServers @ the server IP and corresponding p

---

#### 9. Async_AdvancedWebServer_favicon on RASPBERRY_PI_PICO_W using CYW43439 WiFi
#### 9. Async_AdvancedWebServer_favicon on NUCLEO_F767ZI with LAN8742A built-in Ethernet

Following is the debug terminal when running example [Async_AdvancedWebServer_favicon](examples/Async_AdvancedWebServer_favicon) on NUCLEO_F767ZI, with LAN8742A built-in Ethernet, to demonstrate the operation of AsyncWebServer_STM32, to display `favicon.ico`, which many browsers support.

Expand Down Expand Up @@ -1948,7 +1948,7 @@ Out String Length=31244
.. .....
```

While using Arduino String, the HEAP usage is very large, even with smaller data. Unfortunately, we currently can't use Arduino String larger than 5,5 KBytes now.
While using Arduino String, the HEAP usage is very large, even with smaller data. Unfortunately, we currently can't use `Arduino String` larger than **5,5 KBytes** now.


#### Async_AdvancedWebServer_MemoryIssues_SendArduinoString ===> very large heap (48,716 bytes) for 5,592 bytes data
Expand Down

0 comments on commit 5ec04e3

Please sign in to comment.