Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* wip * hello world * working writes * something working * its's workgin! * Multi recv * Experiment with timeouts * Working timeout * Working mmap files * Parsing and encoding peer messages * rename decoder module * some refactors * wip * First comms with container First communication with container * Break out loop to different module * wip * ensure buffers are always returned * Fix incorrect user data * Refactor eventloop code * add piece selector * Add piece structs * Prevent encoding from taking ownership of buffer * Update buffer pool api and add torrent state * Continue filling in peer connection * Update piece selector and torret state * Update eventloop * More peer id to protocol * update examples * allow specifying order * Sync more often * fix buffer length bugs * Add filestore * Move over on piece completeted from old impl * Add moving average * Fix filestore bug and remove default impl * Refactor peer connection a bit * Handle ENOBUFS for connected writes * Add timeout support * Change order and only mark compelete once * Track stats for peer connection * Implement tick * Always use coop taskrun * Add event backlog to deal with full submission queues * fmt and tweak slab size * Make tick take torrentstate * Return from eventloop when torrent is complete * time download in example * wip timeout * wip working * Fix example * Remember to unregister read ring * misc * Fix logs and clamp desired queue size * Fix bug in deciding not to end slow start * Fix desired queue size calculation * move connect to * Don't return torrent complete in event handler * replace old impl * comment out not working impl * fix examples * re add licence --------- Co-authored-by: Nehliin <>
- Loading branch information