inovex / mqtt-stresser

Load testing tool to stress MQTT message broker
Apache License 2.0
256 stars 77 forks source link

Simply return a new TLSConfig with just InsecureSkipVerify=true in ca… #44

Closed frittentheke closed 4 years ago

frittentheke commented 4 years ago

In case there are no TLS specific options set on the command line the TLSConfig struct is nil an causes an NPE if i.e. only -skip-tls-verification is used to ignore the server certificate of a broker.