[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3907: HTTP storage protocol should not support requests beyond the end of the share
Tahoe-LAFS
trac at tahoe-lafs.org
Mon Jul 18 17:09:19 UTC 2022
#3907: HTTP storage protocol should not support requests beyond the end of the
share
--------------------------+-----------------------------------
Reporter: itamarst | Owner:
Type: defect | Status: new
Priority: normal | Milestone: HTTP Storage Protocol
Component: unknown | Version: n/a
Resolution: | Keywords:
Launchpad Bug: |
--------------------------+-----------------------------------
Comment (by itamarst):
1. Address all TODOs mentioning 3907, using new proposed design where
truncated responses are acceptable so long as they are internally
consistent.
2. The client should validate the length of response matches what is
claimed in the Content-Range header. If it doesn't, this is either a bug,
or in the case of mutables suggests a write happened while reading. Either
way the data should be thrown away.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3907#comment:2>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list