Gianni Johansson schrieb:
> 
> I thought I had mailed this link to the list a while back, but here it is
> again.
> 
> http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/freenet/Contrib/gj/FCP-FEC.txt

--- snip ---
he SegmentHeader for the requested segment must sent as data in the
trailing field of the FECEncodeSegment message, preceding the raw
segment data to encode.

FECEncodeSegment
[RequestedList=0,A,F]
DataLength=<SegmentHeader length> + <segment length>
Data

< SegmentHeader >
< raw data >

--- snip ---

AFAIK in last official release it was necessary to have MetadataLength
here as well (length of the SegmentHeader)
and please remove the empty line after Data - as there may NOT be a
blank line there. thx.

just that anyone following me can see that in the spec and does not have
to ask s.o. else who already did it.

--- snip ---
FECMakeMetadata
Description=file
CheckSum=c8766a76f81727b2b7c131e9ad6a53c8aa820a1e
MimeType=text/plain
DataLength=<total length of all SegmentHeaders and BlockMaps>
Data
<SegmentHeader, BlockMap pairs>
--- snip ---

that text/plain here has the positive effect of not displaying a filter
warning, (other mimetyps display one for some builds), but it also sends
that type to the browser. 

I got at least one complaint from a user whose browser refused to save
text/plain as .zip file (it suggested .txt). So fiw 0.04b used to give
the correct MimeType of the file there. It worked on all browsers, but
created an anonymity warning on some (both old and new) builds -
strangely not on the build that was latest when I released 0.04b.

Which way is the exspected one? Any other side FX known? Some words in
the spec about that would be nice as well.

thx,

mihi

_______________________________________________
devl mailing list
devl at freenetproject.org
http://hawk.freenetproject.org:8080/cgi-bin/mailman/listinfo/devl

Reply via email to