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
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ func main() {
19
19
varproxy, filePath, bwLimit, resumeTaskstring
20
20
21
21
conn:=flag.Int("n", runtime.NumCPU(), "number of connections")
22
-
skiptls:=flag.Bool("skip-tls", true, "skip certificate verification for https")
22
+
skiptls:=flag.Bool("skip-tls", false, "skip certificate verification for https")
23
23
flag.StringVar(&proxy, "proxy", "", "proxy for downloading, e.g. -proxy '127.0.0.1:12345' for socks5 or -proxy 'http://proxy.com:8080' for http proxy")
24
24
flag.StringVar(&filePath, "file", "", "path to a file that contains one URL per line")
25
25
flag.StringVar(&bwLimit, "rate", "", "bandwidth limit during download, e.g. -rate 10kB or -rate 10MiB")
0 commit comments