go version: 1.7.4 OS: debian code like: https://play.golang.org/p/DMIrSr2PLg
this project just like IM, there are both goroutine for each client connection, one to Read, another to Write. recently i found conn.Close() (line 9) occasional block while high concurrency, then there are a large of ESTABLISHED status connections, and they won`t closed forever. Unless i restart the program So In what case will it block? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.