Open
Description
As for current version, I see that callbacks are removed from JsonRpcPrivate::m_callbacks only when response with the same ID is recieved. This may lead to memory leak, especially when remote party fails to process a request for some reason (network issues/data loss, reboot, logic error, etc...).
The solution can be to implement a timeout mechanism and event reporting (e.g. callback) to free JsonRpcPrivate::m_callbacks and report this case to caller.
Metadata
Metadata
Assignees
Labels
No labels