canoriz
canoriz
Apply the trick used in [go-cache](https://github.com/patrickmn/go-cache/blob/master/cache.go#L1113) to solve go routine leak when dynamically creating many expirable-LRU cache. #159 The deleteExpired go routine will be terminated by finalizer at some garbage...
## Description This is not an existing bug but a possible bug. I am developing a feature (a new kind of event), when adding a test for my feature, I...
In BitTorrent BEP10, extend handshake sends IPv6/IPv4 address in a "compact form", which is the big-endian byte representation, represented by byte string length of 4(ipv4)/16(ipv6). This commit adds a `ByteIpAddr`...