mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 15:16:14 +00:00
AK: Rename Stream::write_entire_buffer to Stream::write_until_depleted
No functional changes.
This commit is contained in:
committed by
Linus Groh
parent
a3f73e7d85
commit
ecd1862859
@@ -202,7 +202,7 @@ void Job::on_socket_connected()
|
||||
dbgln("{}", DeprecatedString::copy(raw_request));
|
||||
}
|
||||
|
||||
bool success = !m_socket->write_entire_buffer(raw_request).is_error();
|
||||
bool success = !m_socket->write_until_depleted(raw_request).is_error();
|
||||
if (!success)
|
||||
deferred_invoke([this] { did_fail(Core::NetworkJob::Error::TransmissionFailed); });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user