Skip to content

JsonRpcConnection#Send*() queues messages in memory even after #Disconnect() #9985

Closed
@Al2Klimov

Description

@Al2Klimov

Describe the bug

  1. JsonRpcConnection#Send*() posts a closure with the message in question into its strand which processes such sequentially
  2. That closure inserts the message into #m_OutgoingMessagesQueue

Especially ApiListener#ReplayLog() fills it aggressively. After some time that queue is emptied by #WriteOutgoingMessages(). Unless it's been stopped, either by itself or by #Disconnect().

Expected behavior

Additional context

ref/IP/48306
ref/IP/52366

Metadata

Metadata

Assignees

Labels

area/distributedDistributed monitoring (master, satellites, clients)bugSomething isn't workingref/IP

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions