shoenig / go-mqtt

A development fork of the Eclipse Paho Go MQTT client
http://git.eclipse.org/c/paho/org.eclipse.paho.mqtt.golang.git/
Eclipse Public License 1.0
13 stars 6 forks source link

Maximum message size of 1MB instead of 256MB #4

Closed shoenig closed 10 years ago

shoenig commented 10 years ago

Currently we do only 1 read into a 1MB buffer, and assume that a message will fit into it. MQTT v3.1 explicitly supports up to 256MB messages, so that needs to be supported.