mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 17:49:40 +00:00
AK: Rename Stream::read_entire_buffer to Stream::read_until_filled
No functional changes.
This commit is contained in:
parent
d5871f5717
commit
a3f73e7d85
Notes:
sideshowbarker
2024-07-17 03:05:16 +09:00
Author: https://github.com/timschumi
Commit: a3f73e7d85
Pull-request: https://github.com/SerenityOS/serenity/pull/17684
Reviewed-by: https://github.com/JanDeVisser ✅
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/linusg ✅
31 changed files with 58 additions and 58 deletions
|
@ -90,7 +90,7 @@ void Request::set_should_buffer_all_input(bool value)
|
|||
|
||||
on_finish = [this](auto success, u32 total_size) {
|
||||
auto output_buffer = ByteBuffer::create_uninitialized(m_internal_buffered_data->payload_stream.used_buffer_size()).release_value_but_fixme_should_propagate_errors();
|
||||
m_internal_buffered_data->payload_stream.read_entire_buffer(output_buffer).release_value_but_fixme_should_propagate_errors();
|
||||
m_internal_buffered_data->payload_stream.read_until_filled(output_buffer).release_value_but_fixme_should_propagate_errors();
|
||||
on_buffered_request_finish(
|
||||
success,
|
||||
total_size,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue