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

        Justin Ross made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Justin Ross made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Justin Ross [ justi9 ]
        Fix Version/s 0.19 [ 12322452 ]
        Resolution Fixed [ 1 ]
        Ernest Allen made changes -
        Field Original Value New Value
        Attachment endpoints.py_sync-timeout.patch [ 12548918 ]
        Mike Bonnet created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development