Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot send anything bigger than 1024 bytes #2

Open
bdurrer opened this issue Aug 4, 2018 · 0 comments
Open

Cannot send anything bigger than 1024 bytes #2

bdurrer opened this issue Aug 4, 2018 · 0 comments
Labels

Comments

@bdurrer
Copy link

bdurrer commented Aug 4, 2018

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

@T-vK T-vK added the bug label Aug 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants