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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.16
    • 0.19
    • Python Client
    • 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.

      Attachments

        1. endpoints.py_sync-timeout.patch
          0.3 kB
          Ernest Allen

        Activity

          People

            jross Justin Ross
            mbonnet Mike Bonnet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: