Commit Graph

5 Commits (21a126e4e4cc7dfe3fa83bba7223e071009f48f6)

Author SHA1 Message Date
Tyler Compton 666f122a72 Pass client configuration as an argument
The ClientCommonConf, configuration file path, and server UDP port are
now passed around as arguments instead of being shared between
components as global variables. This allows for multiple clients to
exist in the same process, and allows client.Session to be used as a
library more easily.
6 years ago
Jiajun Huang 2d24879fa3 fix 6 years ago
Jiajun Huang 75383a95b3 resp.Body must be closed after function return
whether it's success or fail, otherwise it will cause memory leak
ref: https://golang.org/pkg/net/http/
6 years ago
荒野無燈 a2ccb6c190 frpc: fixup ini config parse problem in sub command `status` and `reload`. 6 years ago
fatedier 0f6f674a64 cmd: support more cli command 7 years ago