aciidgh / SwiftMQTT

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

Long messages are cut in half #13

Open netgfx opened 7 years ago

netgfx commented 7 years ago

I see you are using inputSteam, could it be that the stream is not handling the very long messages? (the message is not exceeding the MQTT payload limit)

It fails for sure for payloads over 16kb.