Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-4701

Set socket timeout for the socket used to communicate with the server in NetworkServerControl(Impl)

Agile BoardAttach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 10.7.1.1
    • None
    • None
    • Known fix, Newcomer

    Description

      The commands in NetworkServerControl, for instance ping, are invoked over a socket without a timeout set. This may lead to a hang if the server ends up in a confused state (I have observed this when running suites.All in parallel).

      For this situation to arise, the server socket must be open and the server fail after the connection has been established, but before the reply has been sent to the client.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            kristwaa Kristian Waagan

            Dates

              Created:
              Updated:

              Slack

                Issue deployment