Skip to content
This repository was archived by the owner on Feb 4, 2023. It is now read-only.

Commit 4a55108

Browse files
authored
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](khoih-prog/Portenta_H7_AsyncWebServer#8) and [All memmove() removed - string no longer destroyed #11](khoih-prog/Portenta_H7_AsyncWebServer#11) 2. Add multiple examples to demo the new feature
1 parent f1e10ec commit 4a55108

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/AsyncWebServer_Ethernet.hpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,10 @@
7272
/////////////////////////////////////////////////////////
7373

7474
#ifdef ASYNCWEBSERVER_REGEX
75-
#warning Using ASYNCWEBSERVER_REGEX
75+
# if(_AWS_ETHERNET_LOGLEVEL_>3)
76+
#warning Using ASYNCWEBSERVER_REGEX
77+
#endif
78+
7679
#define ASYNCWEBSERVER_REGEX_ATTRIBUTE
7780
#else
7881
#define ASYNCWEBSERVER_REGEX_ATTRIBUTE __attribute__((warning("ASYNCWEBSERVER_REGEX not defined")))

0 commit comments

Comments
 (0)