summaryrefslogtreecommitdiff
path: root/methods/store.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2020-06-29 11:45:45 +0200
committerJulian Andres Klode <julian.klode@canonical.com>2020-07-24 16:30:43 +0200
commitcb743d117bcc666dab4c5948b1227ed2edbd0578 (patch)
tree4e8866f0c07304edd39da483b53dd13b8b870ee7 /methods/store.cc
parent1ee3b64be054a8deb6a598d93047637448e1928e (diff)
http: Only return false for EOF if we actually did not read anything
This should avoid the need to Flush the buffer in Die(), because if we read anything, we are returning true, and not entering Die() at that point. Also Write() does not have a concept of EOF, so get rid of code handling that there. Was that copied from Read()?
Diffstat (limited to 'methods/store.cc')
0 files changed, 0 insertions, 0 deletions