Closed
Description
Hardware
Hardware: ESP12
Core Version: 2.4.0 rc1
Description
Run FSBrowser example then upload 1 MByte file to SPIFFS. The ESP12 has 4MB Flash with 3MB for SPIFFS. The upload works fine.
The problem occurs when downloading the large file using curl/wget. The transfer aborts after a few hundreds of K bytes.
$ curl http://192.168.x.y/1MB.DAT >/dev/null
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
36 1024k 36 376k 0 0 53976 0 0:00:19 0:00:07 0:00:12 45560
curl: (18) transfer closed with 663240 bytes remaining to read
The last commit where large file download works is 2aeac91. The following commits modify WiFiClient.cpp and .h but the code is way over my head.