forked from I2P_Developers/i2p.i2p
SSU: Restore sync dropped in cleanup
This commit is contained in:
@ -718,7 +718,7 @@ public class PeerState {
|
|||||||
* We received the message specified completely.
|
* We received the message specified completely.
|
||||||
* @param bytes if less than or equal to zero, message is a duplicate.
|
* @param bytes if less than or equal to zero, message is a duplicate.
|
||||||
*/
|
*/
|
||||||
void messageFullyReceived(Long messageId, int bytes) {
|
synchronized void messageFullyReceived(Long messageId, int bytes) {
|
||||||
if (bytes > 0) {
|
if (bytes > 0) {
|
||||||
_receiveBytes += bytes;
|
_receiveBytes += bytes;
|
||||||
_messagesReceived++;
|
_messagesReceived++;
|
||||||
|
Reference in New Issue
Block a user