mirror of
https://github.com/zhigang1992/cow.git
synced 2026-04-29 09:55:42 +08:00
Fix bug: incorrect fail count length leading to crash.
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
0.6.2 (not released)
|
||||
* Support multiple shadowsocks server
|
||||
|
||||
0.6.1 (2013-03-14)
|
||||
|
||||
* Avoid using too much memory to hold http requests
|
||||
|
||||
@@ -455,7 +455,7 @@ func checkConfig() {
|
||||
for len(config.ShadowMethod) < len(config.ShadowSocks) {
|
||||
config.ShadowMethod = append(config.ShadowMethod, "")
|
||||
}
|
||||
parentProxyFailCnt = make([]int, len(config.ShadowSocks))
|
||||
parentProxyFailCnt = make([]int, len(parentProxyCreator))
|
||||
}
|
||||
|
||||
func mkConfigDir() (err error) {
|
||||
|
||||
Reference in New Issue
Block a user