NodeMCU-Express icon indicating copy to clipboard operation
NodeMCU-Express copied to clipboard

Cannot send anything bigger than 1024 bytes

Open bdurrer opened this issue 7 years ago • 0 comments

express.static only reads up to a max of 1024 bytes, because the underlying file.read has that max (per default). Anything bigger is cut off.

There is an example on the nodemcu docs on how to send chunks

bdurrer avatar Aug 04 '18 22:08 bdurrer