From 25bdc3de006ff5a5318b5469d098c25fa3ba136c Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 20 Mar 2022 19:38:47 -0700 Subject: [PATCH] updated using git-extra --- todo | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/todo b/todo index ab24834..06550b5 100644 --- a/todo +++ b/todo @@ -49,25 +49,14 @@ Stage 0: *port option *tcp *udp - -work out how and when to send requests back to epoll - -struct with partially written buffer? <-- THIS PREFERABLE - -struct with request parameters - -i.e. hash request - -infohash - -peer id - -etc. *start - *register shutdown - *spawn threads? - -request loops - *epoll fds + *net_queue -strategy for partial requests - HERE - -net_queue -net_wait -stop -figure out how to do this properly -loop - -handshake handling? - HERE + *handshake -pointers to peer functions -peer *rate limit interface -- 2.30.2