Closed karolherbst closed 10 years ago
currently this files the emptyfile download test and I don't know why. The istream object seems to have a filled buffer with "\0", which will produce a 1 byte big file although the sent file is just empty: https://github.com/karolherbst/Gamekeeper-Framework/blob/bug29/tests/core/webserverfiles/emptyfile
It may be related to the embedded webserver or the ArrayBuffer used to read data.
Although I don't care much about emtpy files, it may be confusing to get "\0" by default, even if the download fails in a way or something.
I found the issue and try to solve it now
fixes #29 mostly
We could improve the file caching and add some intelligent + error handling, but this isn't that critical now and can be solved through new bugs