aciidgh / SwiftMQTT

MQTT Client in pure swift ❤️
MIT License
270 stars 71 forks source link

QoS 0 Socket disconnect fix #43

Open johnsonajason opened 5 years ago

johnsonajason commented 5 years ago

When a publish was received with QoS of 0 there was a publish Acknowledgment sent with a MessageID of 0 causing the server to send an endEncountered event closing the socket.

philipparndt commented 5 years ago

thanks I experienced the same issue. Is there a plan to merge this PR? I've tested this with an application that I currently write and it works great.