Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-506

Detach with no "error" sent by router on client TCP connection dropped

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.6.1
    • 0.8.0
    • None
    • None

    Description

      Hi,
      I got the following scenario.

      A router with a link routing configured on address "my_queue".
      A broker hosting "my_queue".
      A Python receiver connected to that queue through the link routing provided by the router.

      If I kill the receiver, so the TCP connection between client and router is dropped, the client (of course) doesn't send a detach to the broker for the link but the router is in charge to do that.
      What happens is that this detach message doesn't contain an "error" field in order to distinguish between a clean detach from the client or a detach sent by router due to client "brute" disconnection.

      Following the trace I have :

      [0x16e07f0]: <- EOS
      [0x16e07f0]: -> EOS
      Closed 127.0.0.1:42308
      Unexpected poll events: 0020 on 127.0.0.1:42308
      [0x16cf470]:0 -> @detach(22) [handle=0, closed=true]
      [0x16cf470]:0 <- @detach(22) [handle=0, closed=true]
      [0x16cf470]:0 -> @end(23) []
      [0x16cf470]:0 <- @end(23) []

      I think that it could make sense that router sends a detach with "error" when something like that happens.
      The current is a bug or a behavior ?

      Thanks,
      Paolo.

      Attachments

        Activity

          People

            tross Ted Ross
            ppatierno Paolo Patierno
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: