Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-3828

When sending large messages loss of connection is not detected even with heartbeats enabled

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.14, 0.15
    • Fix Version/s: 0.23
    • Component/s: C++ Client
    • Labels:
      None

      Description

      E.g run qpid-send --broker <remote-broker> --connection-options

      {heartbeat:8}

      --messages 0 --content-size 1600 --report-every 1000 --address amq.topic

      then after some time pull the network cable (you have to do this, a kill -STOP on the broker is not sufficient). The test will continue sending messages then eventually hang (when buffers are full). If you reconnect the cable, the connection will fail but if you don't, it will not.

      If you reduce the size e.g. to 100 bytes , the connection fails as expected after two heartbeat intervals (16 secs in this case).

        Attachments

          Activity

            People

            • Assignee:
              astitcher Andrew Stitcher
              Reporter:
              gsim Gordon Sim
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: