I2P Address: [http://i2pgit.org]

Skip to content

lock locked_shouldSend on this

Zlatin Balevsky requested to merge (removed):ssu-sync-fix into master

The window state variables read and modified in allocateSendingBytes are also read and modified in locked_messageACKed which lock ons this, so this method needs to lock on this as well.

Change has been tested in testnet without any adverse effects.

To summarize, the safe locking order is _outboundMessages -> _outboundQueue -> this

Merge request reports