Open avh4 opened 7 years ago
Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!
Here is what to expect next, and if anyone wants to comment, keep these things in mind.
I wonder if this is due to using a newer version of the snap-core
Haskell package. I wonder if they have any issues open along these lines, because I basically did not touch the elm-reactor code at all for this release.
I took a quick look and didn't see an obviously matching issues on snap-core. If I get a chance, I'll try making a bare-bones project using snap-core and see if it has the same issue so we can report it there.
This is a SSCCE for #213
With Elm 0.18.0, Mac OS X 10.11.6
Files larger than ~900kb are corrupted by elm-reactor when they are served.
curl -O http://norvig.com/big.txt
)elm-reactor
from the folder with the large filecurl http://localhost:8000/big.txt > downloaded.txt
)If you now compare the downloaded file to the original, (
diff -u <(xxd big.txt) <(xxd downloaded.txt)
), you will see that around 900,000 characters in, the beginning of the file is repeated.Additional info: