commit 478ac3a3ec4b2dd9adb32891123b6e33c483bdf2
Author: Ben Nemec <email address hidden>
Date: Thu May 9 19:06:45 2013 +0000
Fix problem with 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.
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.
Reviewed: https:/ /review. openstack. org/44700 github. com/openstack/ oslo-incubator/ commit/ 478ac3a3ec4b2dd 9adb32891123b6e 33c483bdf2
Committed: http://
Submitter: Jenkins
Branch: stable/folsom
commit 478ac3a3ec4b2dd 9adb32891123b6e 33c483bdf2
Author: Ben Nemec <email address hidden>
Date: Thu May 9 19:06:45 2013 +0000
Fix problem with 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.
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
(cherry picked from commit 7ce54410485b33c ffc39c7ffb96eae 422b88601c)
Conflicts: common/ rpc/impl_ qpid.py
openstack/
Change-Id: I2f0e88435748ba b631d969573d3a5 98d9e1f7fef