mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-16 23:06:05 +00:00
00_MQTT2_SERVER.pm: better error message for TLS connect (Forum #124465)
git-svn-id: https://svn.fhem.de/fhem/trunk@25277 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
21f8dcc96d
commit
2a927714b1
@ -326,6 +326,8 @@ MQTT2_SERVER_Read($@)
|
||||
# V3:MQIsdb V4:MQTT
|
||||
if(ord($fb) & 0xf) { # lower nibble must be zero
|
||||
Log3 $sname, 3, "$cname with bogus CONNECT (".ord($fb)."), disconnecting";
|
||||
Log3 $sname, 3, "TLS activated on the client but not on the server?"
|
||||
if(!AttrVal($sname,"TLS",0) && ord($fb) == 22);
|
||||
return CommandDelete(undef, $cname);
|
||||
}
|
||||
($hash->{protoTxt}, $off) = MQTT2_SERVER_getStr($hash, $pl, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user