GameXG
GameXG
When the writeFrame function ends, the resources used by time.After will not be released immediately. "The underlying Timer is not recovered by the garbage collector until the timer fires."
Sorry, my English is not good. Fixed # 1 # 2.
修改分发方式为账号列表。 目前是通过直接分发配置文件来完成的,现在修改为直接分发账号列表,方便iptables统计流量等功能。
go 版本的服务器相关代码276行 https://github.com/shadowsocks/shadowsocks-go/blob/master/cmd/shadowsocks-server/server.go ``` // Creating cipher upon first connection. if cipher == nil { log.Println("creating cipher for port:", port) cipher, err = ss.NewCipher(config.Method, password) if err != nil {...
解决办法:每天定时刷新几次账号信息。
打算使用支付宝转账功能来做(post 帐号信息到支付宝转账界面),好处是不用以公司名义申请支付宝接口了。坏处是不专业,用户可以修改了支付宝信息造成付款出错。好像可以通过email还获得转账信息,但是速度不如api理想。