-
Notifications
You must be signed in to change notification settings - Fork 21
server.send buffer size limited to 4k #23
Comments
forgot to say: |
HI @jlemieux55 Actually, the limitation is not the bug of this library, but the limitation of WiFiNINA library and certainly modified WiFiNINA_Generic, prevent this library to send in chunks to deal with large html. The issue affects all WiFiNINA-based boards, such as You can test and verify by using other boards, such as ESP32/ESP8266, Portenta_H7, RP2040W and see sending html contents much larger than You can post an issue on WiFiNINA to help fix thus issue / enhance. I don't know if I have time to check and fix the WiFiNINA_Generic. Try to switch to better, even cheaper boards, such as RP2040W, ESP32/ESP8266, etc. |
Hi @jlemieux55 Good news. I just fix the limitation of WiFiNINA_Generic and you now can send very large HTML size. Will post the new WiFiNINA_Generic and let you know to try after some more abusive tests. Be patient. |
### Releases v1.8.15-0 1. Fix severe limitation to permit sending much larger data than total 4K. Check [server.send buffer size limited to 4k #23](khoih-prog/WiFiWebServer#23) 2. Add examples [WiFiWebServer_BigData](https://github.com/khoih-prog/WiFiNINA_Generic/tree/main/examples/WiFiWebServer_BigData) to demo how to send much larger data than total 4K 3. Optimize code 4. Clean up
### Releases v1.8.15-0 1. Fix severe limitation to permit sending much larger data than total 4K. Check [server.send buffer size limited to 4k #23](khoih-prog/WiFiWebServer#23) 2. Add examples [WiFiWebServer_BigData](https://github.com/khoih-prog/WiFiNINA_Generic/tree/main/examples/WiFiWebServer_BigData) to demo how to send much larger data than total 4K 3. Optimize code 4. Clean up
### Releases v1.8.15-0 1. Fix severe limitation to permit sending much larger data than total 4K. Check [server.send buffer size limited to 4k #23](khoih-prog/WiFiWebServer#23) 2. Add examples [WiFiWebServer_BigData](https://github.com/khoih-prog/WiFiNINA_Generic/tree/master/examples/WiFiWebServer_BigData) to demo how to send much larger data than total 4K 3. Optimize code 4. Clean up
### Releases v1.8.15-0 1. Fix severe limitation to permit sending much larger data than total 4K. Check [server.send buffer size limited to 4k #23](khoih-prog/WiFiWebServer#23) 2. Add examples [WiFiWebServer_BigData](https://github.com/khoih-prog/WiFiNINA_Generic/tree/master/examples/WiFiWebServer_BigData) to demo how to send much larger data than total 4K 3. Optimize code 4. Clean up
Hi @jlemieux55 Please check the new release WiFiNINA_Generic v1.8.15-0 which permits sending much larger data than total 4K. Your contribution is noted in Contributions and Thanks Releases v1.8.15-0
Debug TerminalThe following is debug terminal output when running example WiFiWebServer_BigData on
|
html file or message is > 4500 bytes
server.send buffer truncates at > 4096
String message="";
message+=("html content is over 4500 bytes");
server.send(200, "text/html", message);
The text was updated successfully, but these errors were encountered: