lp:~snappy-team/snappy-old/devel
- Get this branch:
- bzr branch lp:~snappy-team/snappy-old/devel
Branch merges
Branch information
Recent revisions
- 64. By Hampus Wessman <hampus@hampus-desktop>
-
Simplified the internal interfaces. Now everything is more logical and easier to deal with!
- 60. By Hampus Wessman <hampus@hampus-desktop>
-
Now CurlDownloader is a subclass of boost::noncopyable.
- 59. By Hampus Wessman <hampus@hampus-desktop>
-
Implemented an algorithm for downloader allocation. It's not exactly like what we spoke about earlier, but something like it. There's a lot of changes... The file is split into segments and those are assigned to downloaders and can be split, when needed. Take a look at the source code :) I think it was easier to implement it with 'segments' (like those I use right now) than just using the byte ranges that had been downloaded. The algorithm is quite basic, but works really well. Exactly where to split the segments could be calculated better (but we'll need the server speeds first). Time to focus on step 2...
- 56. By Hampus Wessman <hampus@hampus-desktop>
-
Now the downloaded ranges are updated. The algorithm adds the ranges downloaded by each downloader since the last update. CurlDownloader:
:get_last_ pos() is a bit ugly (IMO). Works fine, but the interface could be improved... - 55. By Hampus Wessman <hampus@hampus-desktop>
-
Added a list of downloaded byte ranges. No logic there yet, though (just a skeleton).