Closed this issue 2 years ago · 5 comments
It seems because of KeyRef?
KeyRef
lru-rs/src/lib.rs
Line 192 in 69d703e
@mokeyish do you by chance have a reproducible example of the error you're running into? Having the code for an example would make it easier to debug. There's also some changes for the KeyRef type in #166 that might be relevant to this issue.
Code here
https://github.com/mokeyish/smartdns-rs/blob/fc07b91c87a6303d171d9ec88536c9a4d1b4d2c9/src/dns_mw_cache.rs#L853
The reason may be that the key is deserialized by BinDecoder.
I found the cause of the problem, not because of this.