[tahoe-lafs-trac-stream] [tahoe-lafs] #1509: MDMF filecaps should tolerate extra parameters

tahoe-lafs trac at tahoe-lafs.org
Sat Aug 27 11:01:28 PDT 2011


#1509: MDMF filecaps should tolerate extra parameters
--------------------------+-------------------------
 Reporter:  warner        |          Owner:
     Type:  defect        |         Status:  new
 Priority:  minor         |      Milestone:  1.9.0
Component:  code-mutable  |        Version:  1.9.0a1
 Keywords:                |  Launchpad Bug:
--------------------------+-------------------------
 The MDMF filecap format is currently defined as:

 {{{
   URI:MDMF:$writekey:$fingerprint[(:$extension)*]
 }}}

 and all existing caps are created with two extension fields: the first is
 'k' (as an integer), the second is segsize (also as an integer). The
 intention is to allow additional extension fields to be added in the
 future, perhaps hints that could speed up a download.

 But I think I saw places in the code that fail if the number of extension
 fields is not either 0 or 2. These places should be fixed to tolerate 1,
 or 3, etc.

 I'd like to have this in 1.9 because then 1.9 will be tolerant of caps
 generated by future versions that have a different number of extension
 fields.

-- 
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1509>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage


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