make sure to comply with MQTT spec (#14037)

- keep-alive cannot be 0 by default anymore
- client_id cannot be empty

fixes #13993
This commit is contained in:
Harshavardhana
2022-01-06 11:25:39 -08:00
committed by GitHub
parent 0e31cff762
commit 0d3ae3810f
3 changed files with 8 additions and 4 deletions

2
go.mod
View File

@@ -23,7 +23,7 @@ require (
github.com/djherbis/atime v1.0.0
github.com/dswarbrick/smart v0.0.0-20190505152634-909a45200d6d
github.com/dustin/go-humanize v1.0.0
github.com/eclipse/paho.mqtt.golang v1.3.0
github.com/eclipse/paho.mqtt.golang v1.3.5
github.com/elastic/go-elasticsearch/v7 v7.12.0
github.com/fatih/color v1.13.0
github.com/go-ldap/ldap/v3 v3.2.4