The SIO2 project
  1. The SIO2 project
  2. SIO-1682

Worker RPC implementation doesn't remove call from pending after timeout

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Current Version
    • Fix Version/s: None
    • Labels:
      None

      Description

      sio.protocol.rpc.WorkerRpc._timeout will errback the Deferred, but the entry in self.pendingCalls is not deleted. If a reply actually comes later, callback() on line 71 will raise AlreadyCalledError, which will cause the connection to be dropped.

      This ironically makes SIO-1681 slightly better, so that one has to be fixed first.

        Issue Links

          Activity

          Hide
          Gerrit Gerrit added a comment -
          Change I8bbbd5e61a3b8c242cc30249b115089c0f1a71b9, patchset 1
          https://gerrit.sio2project.mimuw.edu.pl/2468

          SIO-1682 Worker RPC implementation doesn't remove call from pending after timeout

          Change-Id: I8bbbd5e61a3b8c242cc30249b115089c0f1a71b9
          Show
          Gerrit Gerrit added a comment - Change I8bbbd5e61a3b8c242cc30249b115089c0f1a71b9, patchset 1 https://gerrit.sio2project.mimuw.edu.pl/2468 SIO-1682 Worker RPC implementation doesn't remove call from pending after timeout Change-Id: I8bbbd5e61a3b8c242cc30249b115089c0f1a71b9

            People

            • Assignee:
              Szymon AcedaƄski
              Reporter:
              Bartosz Stebel
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: