Uploaded image for project: 'network-transport-tcp'
  1. network-transport-tcp
  2. NTTCP-9

Connection crossing can block programs indefinitely

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: next
    • Fix Version/s: None
    • Labels:
      None
    • OS:
      Linux

      Description

      The comments in the code explain how crossing connections are resolved.

      This solution, unfortunately, does not account for the possibility of connection failures.

      It can be that A has a severed connection to B, but A still thinks the connection is healthy. Now, B is aware that the connection has failed, and it tries to reconnect. The result is that A will respond with ConnectionRequestCrossed, and B will wait forever an incoming connection from A.

        Attachments

          Activity

            People

            • Assignee:
              hyperthunk hyperthunk
              Reporter:
              facundominguez Facundo Dominguez
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: