Basic Infos
Platform
- Hardware: [ESP-12|ESP-01|ESP-07|ESP8285 device|other]
- Core Version: [latest git hash or date]
- Development Env: [Arduino IDE|Platformio|Make|other]
- Operating System: [Windows|Ubuntu|MacOS]
Problem Description
Starting from this commit, the streamFile in ESP8266WebServer does only send the first 64 bytes.
See also the findings reported here: letscontrolit/ESPEasy#3561 (comment)
It is sent in my code in this part:
https://github.com/letscontrolit/ESPEasy/blob/e4bd63aff4be231f957b9c910fcc17343e8e91f8/src/src/WebServer/LoadFromFS.cpp#L63-L85
Which does resemble quite a bit how it is described in the examples like this one:
|
if (server.streamFile(file, contentType) != file.size()) { |
Am I missing something here?
Should I include extra headers, or loop over it to serve what is left?
Basic Infos
Platform
Problem Description
Starting from this commit, the
streamFilein ESP8266WebServer does only send the first 64 bytes.See also the findings reported here: letscontrolit/ESPEasy#3561 (comment)
It is sent in my code in this part:
https://github.com/letscontrolit/ESPEasy/blob/e4bd63aff4be231f957b9c910fcc17343e8e91f8/src/src/WebServer/LoadFromFS.cpp#L63-L85
Which does resemble quite a bit how it is described in the examples like this one:
Arduino/libraries/ESP8266WebServer/examples/Graph/Graph.ino
Line 125 in da6ec83
Am I missing something here?
Should I include extra headers, or loop over it to serve what is left?