mirror of
https://github.com/vishvananda/netlink.git
synced 2026-04-22 15:17:08 +08:00
188504cbe7
The addition of ErrDumpInterrupted forced all callers to deal explicitly with interrupted dumps, while typically the caller should simply retry. This commit adds a retry system that makes the library retry up to 10 times before finally giving up with ErrDumpInterrupted. This should lead to fewer surprised users. It can be enabled by calling Handle.RetryInterrupted. Signed-off-by: Timo Beckers <timo@incline.eu>