qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ken Giusti (JIRA)" <j...@apache.org>
Subject [jira] [Created] (QPID-5808) Python framer can discard inbound data under some circumstances.
Date Mon, 09 Jun 2014 20:31:02 GMT
Ken Giusti created QPID-5808:

             Summary: Python framer can discard inbound data under some circumstances.
                 Key: QPID-5808
                 URL: https://issues.apache.org/jira/browse/QPID-5808
             Project: Qpid
          Issue Type: Bug
          Components: Python Client
    Affects Versions: 0.28
            Reporter: Ken Giusti
            Assignee: Ken Giusti
             Fix For: 0.29

On my RHEL7 beta system, while using SSL, the python framer will consume an extra byte past
the frame header (the 9th byte), rather than only consuming the first 8 bytes (frame header).
 This 9th byte gets dropped, and the connection fails.

Here is an example of the proper behavior:

2014-06-09 15:24:52,192 FRAMER recvd [414d51500101000a]
2014-06-09 15:24:52,193 Frame body: [0f0000940000000000000000010107000000003f0000000113717069642e66656465726174696f6e5f74616795002461393130316261312d356334312d343165372d\

Whereas I occasionally see this behavior, which causes the failure:

2014-06-09 15:23:41,295 FRAMER recvd [41]
2014-06-09 15:23:41,295 FRAMER recvd [4d51500101000a0f]
2014-06-09 15:23:41,296 Frame body: [00006e0000000000000000010107000000003f0000000113717069642e66656465726174696f6e5f74616795002461393130316261312d356334312d343165372d62\

As you can see, the first byte (0x0f) was read by the framer, and was discarded, resulting
in a corrupted frame.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org

View raw message