Skip to content
This repository has been archived by the owner on Aug 27, 2020. It is now read-only.

Commit

Permalink
v0.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lzjluzijie committed Jun 8, 2018
2 parents 9f3954e + 88dc954 commit 0acdb02
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions config/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ func GenerateServerConfig(c *cli.Context) (err error) {
tls := c.Bool("tls")
certPath := c.String("cert")
keyPath := c.String("key")
proxy := c.String("proxy")
reverseProxy := c.String("reverse-proxy")

config := &core.ServerConfig{
Pattern: pattern,
ListenAddr: listenAddr,
TLS: tls,
CertPath: certPath,
KeyPath: keyPath,
ReverseProxy: proxy,
ReverseProxy: reverseProxy,
}

data, err := json.MarshalIndent(config, "", " ")
Expand Down
1 change: 1 addition & 0 deletions core/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ func (client *Client) DialWSConn(host string, conn *net.TCPConn) {
})

if err != nil {
logger.Errorf(err.Error())
return
}
defer wsConn.Close()
Expand Down
2 changes: 1 addition & 1 deletion websocks.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ func main() {

app := cli.NewApp()
app.Name = "WebSocks"
app.Version = "0.9.0"
app.Version = "0.9.1"
app.Usage = "A secure proxy based on WebSocket."
app.Description = "See https://github.com/lzjluzijie/websocks"
app.Author = "Halulu"
Expand Down

0 comments on commit 0acdb02

Please sign in to comment.