Closed k1988 closed 6 years ago
Thank you for reporting this and fixing the problem. I also cleaned up this function in https://github.com/eidheim/Simple-Web-Server/commit/af90d7598ffb0f15f13ed6f94b273723442d760c. Hopefully, everything works as expected after the cleanup. Please let me know if it does not.
Yes, everything works as expected !
when i request some json files, the response sometimes with header "Transfer-Encoding: chunked"。 if the response is mini , the reqeust is block, the result is after readed one chunked, the rest bytes of chunked_streambuf is be discarded。
Test Enviroment:
Test code: