On 02/15/2013 03:29 PM, Steven Hardy wrote:
Well, no - this is only addressing half of the problem - on the receiver
side the binary buffer gets returned to the user as a string, but it's not
converted back to the original format - so the message is corrupted and we
have no way of knowing that conversion from binary is required.

See my attached revised reproducer - maybe I'm missing something, but I
don't see how we can detect the _context_aws_creds key has been binary
encoded on the receiver side.

Actually that was my mistake in the modified reproducer. It should be:

   a_map[key] = buffer(str(a_map[key]))

not

   a_map[key] = buffer(a_map[key])

With that change, your amplified test does not report corruption.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to