Bittorrent Library - Report 8

0 views
Skip to first unread message

Alan McGovern

unread,
Aug 5, 2006, 7:04:26 AM8/5/06
to mono-soc-2006
In the last week i spent a bit of time tidying up various bits of code
here and there, and i've begun implementing a lot of events to let the
user know when certain things happen in the code. At the moment there
are approximately 10 events, but there are still some more to add.

I've also put in a lot of backend work in order to implement "keep
alive" messages, and keep track of peers who stop sending messages.

Plans for the next week:
Put in a rate-limiting algorithm to allow for basic controlling of
download/upload speed. This should take a while.

Alan McGovern

unread,
Aug 8, 2006, 5:14:33 AM8/8/06
to mono-soc-2006
Just a quick update. There's been a long-running bug in the program
that i eventually managed to find the source of 2 days ago. Turns out
there are still some multi-threaded race conditions in the code. I put
in a fix for it yesterday, but unfortunately the "fix" completely broke
the engine. I spent roughly 7 hours trying to re-fix the code, but i
couldn't, so i did a rollback to the previous version.

At the moment there is a severe (but not critical) bug in the
multithreading which allows one method to set an object = null while
another method is working on that object. I can imagine fixing this bug
taking quite a while if yesterday is anything to go by.

What i'm going to do is ignore it for the moment, and concentrate on
getting accurate download/upload speed statistics and record the
downloaded/uploaded byte counts accurately within the library.

Reply all
Reply to author
Forward
0 new messages