diff options
author | Ben Nemec <bnemec@us.ibm.com> | 2013-05-09 19:06:45 +0000 |
---|---|---|
committer | Ben Nemec <bnemec@us.ibm.com> | 2013-06-03 22:08:12 +0000 |
commit | 7ce54410485b33cffc39c7ffb96eae422b88601c (patch) | |
tree | 5f4f6d38d5b8c9089e463068801e8a40a72a0106 /tests/utils.py | |
parent | e3e497915f0cc47bba10aad4ef5e940669801cb3 (diff) | |
download | oslo-7ce54410485b33cffc39c7ffb96eae422b88601c.tar.gz oslo-7ce54410485b33cffc39c7ffb96eae422b88601c.tar.xz oslo-7ce54410485b33cffc39c7ffb96eae422b88601c.zip |
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.
Fixes bug 1175808
Change-Id: I5d104e099f523508dae2b657f7d06d96984b10f0
Diffstat (limited to 'tests/utils.py')
0 files changed, 0 insertions, 0 deletions