[
https://issues.apache.org/jira/browse/QPID-6445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360350#comment-14360350
]
ASF subversion and git services commented on QPID-6445:
-------------------------------------------------------
Commit 1666447 from [~eallen] in branch 'qpid/trunk'
[ https://svn.apache.org/r1666447 ]
QPID-6445: Revert the error checking code to *not* close, as this was causing
the recursion problem
> Qpid python client hangs when message with routing key longer than 255 is
> sent (mutual recursion)
> -------------------------------------------------------------------------------------------------
>
> Key: QPID-6445
> URL: https://issues.apache.org/jira/browse/QPID-6445
> Project: Qpid
> Issue Type: Bug
> Components: Python Client
> Affects Versions: 0.32
> Reporter: Ken Giusti
> Assignee: Ernest Allen
> Fix For: Future
>
> Attachments: qpid6445.patch.txt
>
>
> Issue originally found by Petr Matousek
> When producing a message with a routing key longer than 255 characters, the
> Qpid python client hangs / spins indefinitely. There is seen mutual recursion
> around check_error/sync/close in the endpoints.py that leads to memory
> allocation failure.
> In the previous python-qpid versions following exception were reported:
> CodecException: Cannot encode 256 as uint8
> Steps to Reproduce:
> 1. ./spout "amq.fanout/$(printf 'X%.0s' {1..256})"
> 2. spout execution never ends
> Actual results:
> The sender execution never ends when subject longer that 255 characters is
> used.
> Expected results:
> Encoding exception reported.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]