TODO | 4 +++- diff --git a/TODO b/TODO index 5a2e863fe3ea0be6cc4644c18dda8b4276df7258..ac44feee0534296813e6bbfe98d832f1e9b71fbf 100644 --- a/TODO +++ b/TODO @@ -3,4 +3,6 @@ * Might need to reorder pieces by bytes left when hashes pass. * When a piece has zero bytes left, it could be removed from pieces by bytes left, removing O(n^2) overhead searching for incomplete pieces for every connection. * Make torrent read requests higher priority than everything else? * I think the high-low water is broken with responsive download strategy. - * Properly encapsulate the mmap/span stuff. \ No newline at end of file + * Properly encapsulate the mmap/span stuff. + * Implement keep-alive timeout when receiving. + * Wrap connection sockets to convert certain errors and timeout on inactivity with no keep-alives. \ No newline at end of file