Uploaded image for project: 'Indy Node'
  1. Indy Node
  2. INDY-570

ClientZStack should have a provision to disconnect a client

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Complete
    • Priority: Highest
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Epic Link:
    • Sprint:
      INDY 18.01: Stability+

      Description

      For multipart messages where the addr of the remote socket is not known (listener in ClientZStack), the remote cannot be disconnected, the consequence is that the node cannot forcefully disconnect the client, need to find some way to either send a FIN flag or something else. This mailing list thread and its replies might help, https://lists.zeromq.org/pipermail/zeromq-dev/2016-August/030774.html. Some links from zyre codebase https://github.com/zeromq/zyre/blob/055219523325cef4e87941e07abc39718d7350e4/src/zyre_node.c#L555 and https://github.com/zeromq/zyre/blob/055219523325cef4e87941e07abc39718d7350e4/src/zyre_node.c#L948. Once this is done, unskip testClientRetryRequestWhenAckNotReceived and ensure it works

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              nage Nathan George
              Reporter:
              avkrishnan AV Krishnan
              Watchers:
              Alexander Shcherbakov, AV Krishnan, Sergey Shilov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: