forked from I2P_Developers/i2p.i2p
* i2psnark: Possible fix for piece-after-choke
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user