From b1c38e625a17048e7e18d293289cc2a8f791b395 Mon Sep 17 00:00:00 2001 From: alex Date: Sat, 5 Mar 2022 17:03:19 -0800 Subject: [PATCH] updated using git-extra --- todo | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/todo b/todo index 96c843c..46179fe 100644 --- a/todo +++ b/todo @@ -47,34 +47,28 @@ To Do: Stage 0: *priority queue --benchmarking - -separate make target? - -types - -network requests - -adds - -merkle roots - -loads into priority queue -networking *port option *tcp *udp -work out how and when to send requests back to epoll - -struct with partially written buffer? + -struct with partially written buffer? <-- THIS PREFERABLE -struct with request parameters -i.e. hash request -infohash -peer id -etc. -start - -register shutdown - -spawn threads? + *register shutdown + *spawn threads? -request loops -epoll fds - -where to store fds - HERE - -extern struct? - -epoll fd? - -session? -stop + -loop + -tcp vs. udp + -both on same loop? + -field 1 request on each then start loop over? + -examine udp usage in bittorrent protocol -peer *rate limit interface -peer protocol @@ -108,6 +102,11 @@ Stage 0: -during adding -mid-request in server -daemonize +-benchmarking + -network requests + -adds + -merkle roots + -loads into priority queue Later: -trackers -- 2.30.2