Uploaded image for project: 'JBoss Remoting (3+)'
  1. JBoss Remoting (3+)
  2. REM3-316

Have read followed by write on the client side, and the opposite on the server side to prevent client closed and server not

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Done
    • 4.0.24.Final
    • 4.0.25.Final
    • None

    Description

      There can be up to 3 threads participating to the close client connection.

      On the server side, if an event enters (such as a read event because client responded to the close message) it will be expected that the reads are not closed by the upper layers. In case the reads are closed, the "mouse hole" to complete the connection close closes

      Changing to have read followed by write on the client side, and the opposite on the server side. will prevent the client side from closing and the server side from being stuck.

      Reproducer of the issue:

      #!/bin/bash
      
      i=0; while true; do i=$[$i+1]; echo $i; ./bin/jboss-cli.sh -c --command=reload; done
      

      Attachments

        Issue Links

          Activity

            People

              rhn-support-bmaxwell Brad Maxwell
              rhn-support-bmaxwell Brad Maxwell
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: