Commit Graph

9 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
84f8addd6a Move config.go to models/xxx 2016-02-18 18:24:48 +08:00
fatedier
50165053f8 Change directory structure, move models and utils to root directory 2016-02-18 16:56:55 +08:00
fatedier
e805acd1e3 Merge branch 'fix_some_bugs' of https://github.com/Hurricanezwf/frp into Hurricanezwf-fix_some_bugs
Conflicts:
	cmd/frpc/config.go
	cmd/frpc/control.go
	cmd/frpc/main.go
	cmd/frps/config.go
	cmd/frps/control.go
	cmd/frps/main.go
	pkg/models/server.go
2016-02-18 11:42:31 +08:00
Hurricanezwf
04c26d1c31 (1)新增心跳检测发送间隔和超时时间的配置 2016-02-05 14:36:04 +08:00
Hurricanezwf
5d6f37aa82 (1)优化重连和心跳检测 2016-02-05 14:18:26 +08:00
fatedier
fa9356936b Use go fmt before build 2016-02-03 18:46:24 +08:00
fatedier
79195d7177 Change internal package import to github/fatedier 2016-02-03 18:23:30 +08:00
fatedier
7030d16e80 First available commit 2016-01-27 21:24:36 +08:00