* i2psnark: Possible fix for piece-after-choke

This commit is contained in:
zzz
2012-06-13 19:04:11 +00:00
parent 07caf2e316
commit ad1b356879

View File

@ -39,13 +39,13 @@ class PeerState implements DataLoader
// Interesting and choking describes whether we are interested in or // Interesting and choking describes whether we are interested in or
// are choking the other side. // are choking the other side.
boolean interesting = false; volatile boolean interesting;
boolean choking = true; volatile boolean choking = true;
// Interested and choked describes whether the other side is // Interested and choked describes whether the other side is
// interested in us or choked us. // interested in us or choked us.
boolean interested = false; volatile boolean interested;
boolean choked = true; volatile boolean choked = true;
/** the pieces the peer has */ /** the pieces the peer has */
BitField bitfield; BitField bitfield;