-
i'm getting IndexOutOfBoundsException in
optimisticUnchoke()
do-while loop iterates if p (Peer) is null, even if unchokeList is empty.
do {
...
} while (p == null && !this.unchokeList.isEmpty());
should fix the problem.
here's the stack trace:
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.LinkedList.entry(LinkedList.java:365)
at...
2007-04-29 23:39:27 UTC in Java Bittorrent API
-
info_hash value isn't being encoded properly too
this is the info_hash being sent by the API
info_hash=%FCH%DD%081%D1%E90%AB%AF%15pD%B2%A2%1B%3B+c%BE
and the tracker response was 'unregistered torrent'
changing the info_hash to
info_hash=%FCH%DD%081%D1%E90%AB%AF%15pD%B2%A2%1B%3B%2Bc%BE
would fix the problem. I'm not sure if this is a tracker specific issue but to fix this bug...
2007-04-29 22:01:24 UTC in Java Bittorrent API
-
vafada committed revision 23 to the JImageMapper SVN repository, changing 2 files.
2007-04-24 22:57:42 UTC in JImageMapper
-
vafada committed revision 22 to the JImageMapper SVN repository, changing 1 files.
2007-04-24 19:19:33 UTC in JImageMapper
-
vafada committed revision 21 to the JImageMapper SVN repository, changing 1 files.
2007-04-24 19:17:06 UTC in JImageMapper
-
vafada committed revision 20 to the JImageMapper SVN repository, changing 1 files.
2007-04-24 19:10:16 UTC in JImageMapper
-
vafada committed revision 19 to the JImageMapper SVN repository, changing 1 files.
2007-04-24 18:42:59 UTC in JImageMapper
-
vafada committed revision 18 to the JImageMapper SVN repository, changing 5 files.
2007-04-24 18:41:34 UTC in JImageMapper
-
vafada committed revision 17 to the JImageMapper SVN repository, changing 1 files.
2007-04-24 18:11:06 UTC in JImageMapper
-
vafada committed revision 16 to the JImageMapper SVN repository, changing 1 files.
2007-04-24 17:08:39 UTC in JImageMapper