Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

netlink-proto: if messages are never acknowledged, the Protocol.pending_requests keep growing #138

Open
little-dude opened this issue Jan 17, 2021 · 1 comment

Comments

@little-dude
Copy link
Owner

There should be an option to set a timer to remove pending requests.

@stbuehler
Copy link
Contributor

I'd prefer a solution that unregisters requests when the receiver is dropped. Both solutions could be resulting in old messages turning up in newer response channels, but timers seem way more complicated and dangerous to me. Maybe there is a way to slow down requests when the sequence id gets cycled too fast?

And #209 should probably get fixed before, because removing requests means there is a higher chance for unsolicited messages.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants