1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:57:35 +00:00

LibHTTP: Propagate OOM errors from HttpRequest::to_raw_request()

This commit is contained in:
Linus Groh 2023-03-09 14:51:20 +00:00
parent f068ddb79f
commit d0ecd81888
3 changed files with 20 additions and 20 deletions

View file

@ -195,7 +195,7 @@ ErrorOr<ByteBuffer> Job::receive(size_t size)
void Job::on_socket_connected()
{
auto raw_request = m_request.to_raw_request();
auto raw_request = m_request.to_raw_request().release_value_but_fixme_should_propagate_errors();
if constexpr (JOB_DEBUG) {
dbgln("Job: raw_request:");