[ https://issues.apache.org/jira/browse/QPID-2200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Rudyy closed QPID-2200. ---------------------------- Resolution: Duplicate Fix Version/s: 0.31 The issue was fixed as part of QPID-6081 > Large message bodies can be truncated in 0.8 support > ---------------------------------------------------- > > Key: QPID-2200 > URL: https://issues.apache.org/jira/browse/QPID-2200 > Project: Qpid > Issue Type: Bug > Components: Python Client > Environment: Broker tested against was rabbitmq. Source examined > 2cd99f34c from git repo. > Reporter: Garrett Smith > Fix For: 0.31 > > > The implementation of Channel.read_content (peer.py:355) uses the body eof > flag when looping over frames from the queue. > When using 0.8, the Body implementation (connection08.py:483) hard codes eof > = False, therefore only one frame is ever read. This can be recreated by > reading messages with largish body contents. The tipping point in my tests > was around 130K. The broker was rabbitmq 1.7. > My current work around sets eof as follows: > class Body(Frame): > type = "frame_body" > def __init__(self, content): > self.content = content > self.eof = not content or content[-1] == '\x00' > self.bof = False > I'm not sure if this is the right fix however. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org