bb4c3298f5
The socket selector holds a `seq` of per-descriptor data. When a reader is registered, a pointer to a seq item is stored - when the `seq` grows, this pointer becomes dangling and causes crashes like https://github.com/status-im/nimbus-eth2/issues/3521. It turns out that there already exist two mechanisms for passing user data around - this PR simply removes one of them, saving on memory usage and removing the need to store pointers to the `seq` data that become dangling on resize. |
||
---|---|---|
.. | ||
common.nim | ||
datagram.nim | ||
ipnet.nim | ||
osnet.nim | ||
stream.nim |