summaryrefslogtreecommitdiff
path: root/Kernel/Net
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2020-01-17 21:51:23 +0300
committerAndreas Kling <awesomekling@gmail.com>2020-01-17 21:49:58 +0100
commitcee597a728c89c0d7217a646aea84b14b534e200 (patch)
treeacd171e3c3f730ff32c4fb67f2dc6f416ead58e2 /Kernel/Net
parentcf04de188e9d236df950185f40194dbc3a864f10 (diff)
downloadserenity-cee597a728c89c0d7217a646aea84b14b534e200.zip
LibCore: Make CIODevice::read_all() actually read all data
It used to only read the data it could get without blocking. Andreas says this was intentional, but it's counterintuitive and no code that uses read_all() actually expects it to return only a part of the data. So change it to always read data until an EOF (or an error) is received.
Diffstat (limited to 'Kernel/Net')
0 files changed, 0 insertions, 0 deletions