title: Should I close a link immediately when meet EPOLLERR
body: <p>I tried to find answers in several network libraries, but the code is hard to understand for me.
  should I get the errer code through getsockopt first, then judge whether to close the connection according to the error code?</p>