Skip to content

Websocket close time out task

Compare
Choose a tag to compare
@TingDaoK TingDaoK released this 11 Aug 16:05
e147bd2

During the shutdown process, websocket will wait for the close frame to be writen. However, it's possible that some message blocks the io, and we need a timeout task to cancel the close frame.