Showing 1 of 1 files from the diff.

@@ -393,11 +393,11 @@
Loading
393 393
		},
394 394
		TLSHandshakeTimeout: o.HTTPReqTimeOut,
395 395
	}
396 -
	if o.https {
397 -
		tr.TLSClientConfig = &tls.Config{}
396 +
	if o.https { // nolint: nestif // fine for now
397 +
		tr.TLSClientConfig = &tls.Config{MinVersion: tls.VersionTLS10}
398 398
		if o.Insecure {
399 -
			log.LogVf("using insecure https")
400 -
			tr.TLSClientConfig.InsecureSkipVerify = true // nolint: gosec // only in Insecure mode
399 +
			log.LogVf("Using insecure https")
400 +
			tr.TLSClientConfig.InsecureSkipVerify = true
401 401
		}
402 402
		if len(o.Cert) > 0 && len(o.Key) > 0 {
403 403
			cert, err := tls.LoadX509KeyPair(o.Cert, o.Key)
Files Coverage
dflag 82.2%
fgrpc 88.1%
fhttp 84.6%
fnet/network.go 86.9%
log/logger.go 86.7%
periodic/periodic.go 96.9%
stats/stats.go 96.5%
tcprunner/tcprunner.go 70.2%
Project Totals (25 files) 86.3%
1
coverage:
2
  range: 60..99
3
  precision: 1         # how many decimal places to display in the UI: 0 <= value <= 4
4
  round: nearest       # how coverage is rounded: down/up/nearest
5
  ignore:              # files and folders that will be removed during processing
6
    - "**.pb.go"
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading