Fix Will message not allowing user-property properties.

pull/1600/head
Roger A. Light 7 years ago
parent 127b6a3d91
commit 9459269a6f

@ -7,6 +7,7 @@ Broker:
one of `content-type`, `correlation-data`, `payload-format-indicator`, or
`response-topic`. Closes #1244.
- Fix build for WITH_TLS=no. Closes #1250.
- Fix Will message not allowing user-property properties.
Library:
- Fix crash after client has been unable to connect to a broker. This occurs

@ -70,6 +70,7 @@ int property__process_will(struct mosquitto *context, struct mosquitto_message_a
case MQTT_PROP_CORRELATION_DATA:
case MQTT_PROP_PAYLOAD_FORMAT_INDICATOR:
case MQTT_PROP_RESPONSE_TOPIC:
case MQTT_PROP_USER_PROPERTY:
if(msg_properties){
msg_properties_last->next = p;
msg_properties_last = p;

Loading…
Cancel
Save