Open hankai17 opened 2 years ago
https://github.com/yedf2/handy/blob/c16cde9ae1c801ededf2555519bbab2af5496625/handy/poller.cc#L97 https://github.com/yedf2/handy/blob/c16cde9ae1c801ededf2555519bbab2af5496625/handy/conn.cc#L109 It seem's in channel's Callback delete channel.
Yes, if the data stream in the tcp connection has finished, then the channel should be closed and deleted
https://github.com/yedf2/handy/blob/c16cde9ae1c801ededf2555519bbab2af5496625/handy/poller.cc#L97 https://github.com/yedf2/handy/blob/c16cde9ae1c801ededf2555519bbab2af5496625/handy/conn.cc#L109 It seem's in channel's Callback delete channel.