summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibHTTP
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2023-03-01 15:37:45 +0100
committerLinus Groh <mail@linusgroh.de>2023-03-13 15:16:20 +0000
commitecd186285954f74b5ffd7444dbdcdf6141858be5 (patch)
treeadd602c4064dd43f8874ff360398885328f19886 /Userland/Libraries/LibHTTP
parenta3f73e7d85584412e2774870bc6538faaaf71001 (diff)
downloadserenity-ecd186285954f74b5ffd7444dbdcdf6141858be5.zip
AK: Rename Stream::write_entire_buffer to Stream::write_until_depleted
No functional changes.
Diffstat (limited to 'Userland/Libraries/LibHTTP')
-rw-r--r--Userland/Libraries/LibHTTP/Job.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibHTTP/Job.cpp b/Userland/Libraries/LibHTTP/Job.cpp
index 1f308b214e..63d8c4a63c 100644
--- a/Userland/Libraries/LibHTTP/Job.cpp
+++ b/Userland/Libraries/LibHTTP/Job.cpp
@@ -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); });