kopia lustrzana https://github.com/Yakifo/amqtt
pull/8/head
rodzic
a3d856b4c8
commit
b6bd91e3fb
|
@ -136,7 +136,7 @@ class BrokerProtocolHandler(ProtocolHandler):
|
|||
if connect.variable_header.reserved_flag:
|
||||
raise MQTTException('[MQTT-3.1.2-3] CONNECT reserved flag must be set to 0')
|
||||
if connect.proto_name != "MQTT":
|
||||
raise MQTTException('[MQTT-3.1.2-1] Incorrect protocol name: "%s"' % connect.variable_header.protocol_name)
|
||||
raise MQTTException('[MQTT-3.1.2-1] Incorrect protocol name: "%s"' % connect.proto_name)
|
||||
|
||||
connack = None
|
||||
error_msg = None
|
||||
|
|
Ładowanie…
Reference in New Issue