Qpid
  1. Qpid
  2. QPID-4102

Sender.send(timeout=N) should pass timeout=N to self.sync()

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.16
    • Fix Version/s: 0.19
    • Component/s: Python Client
    • Labels:
      None

      Description

      Session.send(timeout=N) calls self.sync() with no timeout. In the case where self.capacity is UNLIMITED (the default) this can result in send() blocking indefinitely, even if called with a timeout. timeout=N should be passed through to the self.sync() call.

        Activity

        Hide
        Justin Ross added a comment -

        Fixed in revision 1399445 by committing Ernie's patch.

        Show
        Justin Ross added a comment - Fixed in revision 1399445 by committing Ernie's patch.

          People

          • Assignee:
            Justin Ross
            Reporter:
            Mike Bonnet
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development