On Sat, Jul 21, 2012 at 7:47 PM, cogitoergosum <
nages...@gmail.com> wrote:
> For example, the network traffic increases in QoS 2 message. So, if a client
> is on a network that couldn't handle the increased bandwidth required for
> QoS 2, perhaps, this client should not be allowed to send QoS 2 message.
I'm not sure I agree with your argument. If your message is important
enough to require QoS 2, you don't want to degrade to a lower QoS
based on available bandwidth. Also, as the spec currently stands (and
as you stated), there is no mechanism for informing the client of the
unauthorised publish, so this method in fact increase bandwidth due to
the client retrying the publish. PUBACK, PUBREC, PUBREL and PUBCOMP
are all 4 bytes long. Any publish message will be longer.
Cheers,
Roger