1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 15:28:11 +00:00
serenity/Userland/Libraries/LibHTTP
Luke Wilde 41d6307c17 LibHTTP: Fix not consuming the last byte of body in from_raw_request
`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.
2022-10-18 23:18:20 +02:00
..
CMakeLists.txt Userland: Convert TLS::TLSv12 to a Core::Stream::Socket 2022-02-06 13:10:10 +01:00
Forward.h Userland: Convert TLS::TLSv12 to a Core::Stream::Socket 2022-02-06 13:10:10 +01:00
HttpRequest.cpp LibHTTP: Fix not consuming the last byte of body in from_raw_request 2022-10-18 23:18:20 +02:00
HttpRequest.h LibHTTP: Make HTTP method names more accessible 2022-10-11 21:52:13 +02:00
HttpResponse.cpp Libraries: Use default constructors/destructors in LibHTTP 2022-03-13 22:34:38 +01:00
HttpResponse.h Libraries: Use default constructors/destructors in LibHTTP 2022-03-13 22:34:38 +01:00
HttpsJob.cpp Userland: Convert TLS::TLSv12 to a Core::Stream::Socket 2022-02-06 13:10:10 +01:00
HttpsJob.h Userland: Convert TLS::TLSv12 to a Core::Stream::Socket 2022-02-06 13:10:10 +01:00
Job.cpp LibHTTP: Use 'close' as the default value for Connection in HTTP/1.0 2022-10-01 19:37:01 +02:00
Job.h LibHTTP: Use 'close' as the default value for Connection in HTTP/1.0 2022-10-01 19:37:01 +02:00