You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: main.go
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,7 @@ func main() {
52
52
&cli.StringFlag{Name: "turnserver", Aliases: []string{"s"}, Required: true, Usage: "turn server to connect to in the format host:port"},
53
53
&cli.BoolFlag{Name: "tls", Value: false, Usage: "Use TLS/DTLS on connecting to the STUN or TURN server"},
54
54
&cli.StringFlag{Name: "protocol", Value: "udp", Usage: "protocol to use when connecting to the TURN server. Supported values: tcp and udp"},
55
-
&cli.DurationFlag{Name: "timeout", Value: 5*time.Second, Usage: "connect timeout to turn server"},
55
+
&cli.DurationFlag{Name: "timeout", Value: 2*time.Second, Usage: "connect timeout to turn server"},
56
56
},
57
57
Before: func(ctx*cli.Context) error {
58
58
ifctx.Bool("debug") {
@@ -86,7 +86,7 @@ func main() {
86
86
&cli.StringFlag{Name: "turnserver", Aliases: []string{"s"}, Required: true, Usage: "turn server to connect to in the format host:port"},
87
87
&cli.BoolFlag{Name: "tls", Value: false, Usage: "Use TLS/DTLS on connecting to the STUN or TURN server"},
88
88
&cli.StringFlag{Name: "protocol", Value: "udp", Usage: "protocol to use when connecting to the TURN server. Supported values: tcp and udp"},
89
-
&cli.DurationFlag{Name: "timeout", Value: 5*time.Second, Usage: "connect timeout to turn server"},
89
+
&cli.DurationFlag{Name: "timeout", Value: 2*time.Second, Usage: "connect timeout to turn server"},
90
90
&cli.StringFlag{Name: "username", Aliases: []string{"u"}, Required: true, Usage: "username for the turn server"},
91
91
&cli.StringFlag{Name: "password", Aliases: []string{"p"}, Required: true, Usage: "password for the turn server"},
92
92
},
@@ -168,7 +168,7 @@ func main() {
168
168
&cli.StringFlag{Name: "turnserver", Aliases: []string{"s"}, Required: true, Usage: "turn server to connect to in the format host:port"},
169
169
&cli.BoolFlag{Name: "tls", Value: false, Usage: "Use TLS/DTLS on connecting to the STUN or TURN server"},
170
170
&cli.StringFlag{Name: "protocol", Value: "udp", Usage: "protocol to use when connecting to the TURN server. Supported values: tcp and udp"},
171
-
&cli.DurationFlag{Name: "timeout", Value: 5*time.Second, Usage: "connect timeout to turn server"},
171
+
&cli.DurationFlag{Name: "timeout", Value: 2*time.Second, Usage: "connect timeout to turn server"},
172
172
&cli.StringFlag{Name: "username", Aliases: []string{"u"}, Required: true, Usage: "username for the turn server"},
173
173
&cli.StringFlag{Name: "password", Aliases: []string{"p"}, Required: true, Usage: "password for the turn server"},
174
174
&cli.StringFlag{Name: "target", Aliases: []string{"t"}, Required: true, Usage: "Target to leak memory to in the form host:port. Should be a public server under your control"},
@@ -231,7 +231,7 @@ func main() {
231
231
&cli.StringFlag{Name: "turnserver", Aliases: []string{"s"}, Required: true, Usage: "turn server to connect to in the format host:port"},
232
232
&cli.BoolFlag{Name: "tls", Value: false, Usage: "Use TLS/DTLS on connecting to the STUN or TURN server"},
233
233
&cli.StringFlag{Name: "protocol", Value: "udp", Usage: "protocol to use when connecting to the TURN server. Supported values: tcp and udp"},
234
-
&cli.DurationFlag{Name: "timeout", Value: 5*time.Second, Usage: "connect timeout to turn server"},
234
+
&cli.DurationFlag{Name: "timeout", Value: 2*time.Second, Usage: "connect timeout to turn server"},
235
235
&cli.StringFlag{Name: "username", Aliases: []string{"u"}, Required: true, Usage: "username for the turn server"},
236
236
&cli.StringFlag{Name: "password", Aliases: []string{"p"}, Required: true, Usage: "password for the turn server"},
0 commit comments