Closed edwardw closed 13 years ago
See the comment on L148. It generates some warnings, but is harmless for the code apparently due to the survivability of Erlang :)
I also tried to refactor etorrent_peer_control a little bit. Please take a look. In the meantime, I will move on to other issues / enhancements.
Cool, taking a look later today
Also pulled to next
. I plan a move to master
later when it has been tested a bit.
Hi,
I've refactor-ed module etorrent_peer_recv to eliminate unnecessary state passing between functions.
make eunit
andmake dialyze
are all good. And in one test run, it also successfully started to downloading one torrent file.Please review my change.
Regards, Edward