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

Commit 0acdb02

Browse files
committed
v0.9.1
2 parents 9f3954e + 88dc954 commit 0acdb02

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

config/server.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@ func GenerateServerConfig(c *cli.Context) (err error) {
4444
tls := c.Bool("tls")
4545
certPath := c.String("cert")
4646
keyPath := c.String("key")
47-
proxy := c.String("proxy")
47+
reverseProxy := c.String("reverse-proxy")
4848

4949
config := &core.ServerConfig{
5050
Pattern: pattern,
5151
ListenAddr: listenAddr,
5252
TLS: tls,
5353
CertPath: certPath,
5454
KeyPath: keyPath,
55-
ReverseProxy: proxy,
55+
ReverseProxy: reverseProxy,
5656
}
5757

5858
data, err := json.MarshalIndent(config, "", " ")

core/client.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ func (client *Client) DialWSConn(host string, conn *net.TCPConn) {
107107
})
108108

109109
if err != nil {
110+
logger.Errorf(err.Error())
110111
return
111112
}
112113
defer wsConn.Close()

websocks.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ func main() {
1919

2020
app := cli.NewApp()
2121
app.Name = "WebSocks"
22-
app.Version = "0.9.0"
22+
app.Version = "0.9.1"
2323
app.Usage = "A secure proxy based on WebSocket."
2424
app.Description = "See https://github.com/lzjluzijie/websocks"
2525
app.Author = "Halulu"

0 commit comments

Comments
 (0)