[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3956: Uploading a 20MB mutable fails in HTTP, but succeeds in Foolscap

Tahoe-LAFS trac at tahoe-lafs.org
Thu Dec 15 18:19:36 UTC 2022


#3956: Uploading a 20MB mutable fails in HTTP, but succeeds in Foolscap
--------------------------+-----------------------------------
     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):

 Mutable uploads get sent as CBOR, and we limit CBOR messages to 1MB cause
 we don't have streaming parsing or streaming validation at the moment.

 Solutions might be:
 1. Figure out streaming parsing + validation.
 2. Break up uploads into chunks in the HTTP client, which is...
 semantically dangerous possibly.
 3. Change HTTP protocol so it doesn't use CBOR for the actual data.
 4. ...

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3956#comment:2>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list