mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:28:11 +00:00
![]() `index + 1` was not correct. For example, if the body has two bytes, we would consume the first byte and increment the index. We then add one to the index and see it's equal to the size, so we take this one byte and set the body result to it. The while loop would still continue and we consume the second byte, adding it to the temporary buffer. We see that the index is above the size, so we don't update the body, dropping the last byte on the floor. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Forward.h | ||
HttpRequest.cpp | ||
HttpRequest.h | ||
HttpResponse.cpp | ||
HttpResponse.h | ||
HttpsJob.cpp | ||
HttpsJob.h | ||
Job.cpp | ||
Job.h |