-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add minimal, multi stream support to minimal-download client (#38)
* Add minimal multistream option * Add all conn logic to download This change consolidates websocket logic into the download() method so that connection start and shutdown can happen concurrently across multiple streams. As such, we checkpoint firstStart firstClose and lastStart and lastClose times as well as byte counts at significant events. With these variables, we can calculate various avg rates or a peak rates.
- Loading branch information
1 parent
fa019b5
commit b0d0b68
Showing
1 changed file
with
125 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters