From 2f31fc69407adffdae6317613a6b3c0bea4eaa69 Mon Sep 17 00:00:00 2001 From: Dmitriy Ryajov Date: Mon, 23 Sep 2019 17:14:41 -0600 Subject: [PATCH] misc: TODO for timeouts and message limit in mplex --- libp2p/muxers/mplex/mplex.nim | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/libp2p/muxers/mplex/mplex.nim b/libp2p/muxers/mplex/mplex.nim index 546d0e58b..2aa2b37ea 100644 --- a/libp2p/muxers/mplex/mplex.nim +++ b/libp2p/muxers/mplex/mplex.nim @@ -7,14 +7,9 @@ ## This file may not be copied, modified, or distributed except according to ## those terms. -## TODO: I have to be carefull to clean channels up correctly, -## both by removing from the internal tables as well as -## releasing resource when the channel is completelly -## finished. This is complicated because half-closed -## streams makes closing channels non-deterministic. -## -## This still needs to be implemented properly - I'm leaving it -## here to not forget that this needs to be fixed ASAP. +## TODO: +## Timeouts and message limits are still missing +## they need to be added ASAP import tables, sequtils, options, strformat import chronos, chronicles