go-peerstream icon indicating copy to clipboard operation
go-peerstream copied to clipboard

add a naive approach to closing idle connections

Open whyrusleeping opened this issue 8 years ago • 0 comments

This still needs some thought, but what i'm thinking about is having connections close automatically if there are no streams open over them.

With this, we should be able to implement similar timeouts in the dht and bitswap, and actually get to a point where we can close connections to peers and not just have endless buildup over time :)

whyrusleeping avatar Nov 02 '16 19:11 whyrusleeping