Commit Graph

2 Commits

Author SHA1 Message Date
fatedier
26479cf92a all: fix bug when client shutdown and reconnect, server response already use
1. if client is offline, server will release all resources
2. use a graceful method to shutdown go net.Listeners
3. add closeFlag for Conn, so startHeartBeat func can exit correctly now
2016-02-19 17:01:47 +08:00
fatedier
50165053f8 Change directory structure, move models and utils to root directory 2016-02-18 16:56:55 +08:00