Comment 16 for bug 1215091

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to oslo-incubator (stable/grizzly)

Reviewed: https://review.openstack.org/44695
Committed: http://github.com/openstack/oslo-incubator/commit/4f97479ad078771f6f25461c95203a5d293ec08b
Submitter: Jenkins
Branch: stable/grizzly

commit 4f97479ad078771f6f25461c95203a5d293ec08b
Author: Xavier Queralt <email address hidden>
Date: Mon Sep 2 14:27:22 2013 +0200

    Fix problem when sending long messages in Qpid

    Qpid has a limitation where it cannot serialize a dict containing a
    string greater than 65535 characters. This change alters the Qpid
    implementation to JSON encode the dict before sending it, but only if
    Qpid would fail to serialize it. This maintains as much backward
    compatibility as possible, though long messages will still fail if they
    are sent to an older receiver.

    The first part of this fix was ported to Grizzly in I8b6c5734b to allow
    receiving messages from Havana using the new format. Even though this
    change will modify the message format, it will only do it when messages
    are longer than 65K which would be broken anyway and could cause serious
    bugs like the one linked below.

    Fixes bug 1215091

    Change-Id: I2f0e88435748bab631d969573d3a598d9e1f7fef