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:
parent
f068ddb79f
commit
d0ecd81888
3 changed files with 20 additions and 20 deletions
|
@ -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:");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue