On Wednesday 20 November 2002 17:53, Ian wrote: I think there's a race condition somewhere. That code should be thrown away pretty soon, so I am not putting any time into debugging it. Once the blocks are in the local datastore the bug seems to go away. The few times I have seen it I was able to get the file by retrying. Admittedly, small consolation if you are downloading a 100Mb file....
I am putting all of my effort into getting freenet.client.cli.Main and AutoRequester based FEC SplitFile insertion and retrieval working at the moment. Writing new cleaner SplitFile request and insert Servlets on top of AutoRequester should be pretty easy. Getting per segment streaming (the current implementation sends the data for a segment as soon as it is decoded) might be a little tricky, but could probably be punted for the first pass implementation. See: http://hawk.freenetproject.org/pipermail/devl/2002-November/002496.html I am pretty much on schedule. I have freenet.client.cli.Main client FEC Splitfile requesting working in my local tree. I will try to get 1 - 3 checked in as soon as I can (end of this weekend at the very earliest). That way, then other people can work on 4,5 if they want to. I don't have much time to code during the week unfortunately. --gj P.S. Ian (or any other Tomcat/Servlet coders): If you are looking for a constructive way to contribute in the meantime, investigate fixing our javax.servlet.* implementation so that it doesn't use cookies to store context information. Fixing this will get rid of the need for the home-brewed url rewriting context management I was forced to use to avoid cookies. Also, someone should put FEC SplitFile support into the C cli clients. --gj > > I was playing with the splitfile stuff, and noticed a few things: > > Right me it is saying Blocks required: 110, Blocks downloaded: 120. > What is going on? > > Secondly, I wonder whether there could be a cleaner way to keep the user > up-to-date on progress... Right now, the UI for multi-block downloads > is pretty confusing (stuff like the "Start Download" page not going away > after you start the download etc). > > Any volunteers to look into this? > > Ian. ---------------------------------------- Content-Type: application/pgp-signature; charset="us-ascii"; name="Attachment: 1" Content-Transfer-Encoding: 7bit Content-Description: ---------------------------------------- _______________________________________________ devl mailing list devl at freenetproject.org http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/devl
