Skip to content

Commit 5acffe0

Browse files
committed
Bumped v0.5.11
Signed-off-by: Vishal Rana <vr@labstack.com>
1 parent b56d48b commit 5acffe0

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
IMAGE = labstack/tunnel
2-
VERSION = 0.5.10
2+
VERSION = 0.5.11
33

44
publish:
55
git tag v$(VERSION)

cmd/cmd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
)
1212

1313
var (
14-
s = spinner.New(spinner.CharSets[32], 100*time.Millisecond)
14+
s = spinner.New(spinner.CharSets[32], 50*time.Millisecond)
1515
)
1616

1717
func exit(i interface{}) {

cmd/root.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,6 @@ func initialize() {
100100
func init() {
101101
rootCmd.PersistentFlags().StringVarP(&configuration, "configuration", "c", "",
102102
"configuration name from the console")
103-
rootCmd.PersistentFlags().StringVarP(&protocol, "protocol", "p", daemon.ProtocolHTTPS,
104-
"connection protocol (https, tcp, tls)")
103+
rootCmd.PersistentFlags().StringVarP(&protocol, "protocol", "p", daemon.ProtocolHTTP,
104+
"connection protocol (http, tcp, tls)")
105105
}

cmd/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
)
88

99
const (
10-
version = "v0.5.10"
10+
version = "v0.5.11"
1111
)
1212

1313
var versionCmd = &cobra.Command{

daemon/connection.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ func (s *Server) newConnection(req *ConnectRequest) (c *Connection, err error) {
117117
c.Header.TLS = true
118118
}
119119
}
120-
if c.Configuration.Protocol != ProtocolHTTPS {
120+
if c.Configuration.Protocol != ProtocolHTTP {
121121
c.RemotePort = 0
122122
}
123123
c.Header = &Header{

daemon/server.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ type (
4747
)
4848

4949
const (
50-
ProtocolHTTPS = "https"
51-
ProtocolTCP = "tcp"
52-
ProtocolTLS = "tls"
50+
ProtocolHTTP = "http"
51+
ProtocolTCP = "tcp"
52+
ProtocolTLS = "tls"
5353
)
5454

5555
var (

0 commit comments

Comments
 (0)