Uploaded image for project: 'MINA'
  1. MINA
  2. DIRMINA-650

Mina server does not recieve all data sent by client using SSLSocketFactory

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.1.7
    • 2.0.0
    • Filter
    • None

    Description

      Using mina on the server with SSLFilter, and a client using SSLSocketFactory the server does not recieve all
      data sent by the client.

      The client creates a socket, sends data to the server and waits for a response then closes the socket.
      The first connection works fine, if the client then repeats on the same thread the second attempt almost always
      fails. The server never gets all the data the client sent, and so never sends a response.

      A similar problem seems to be described in DIRMINA-580, and in fact the fix described in [1] seems to fix the problem. However the fix that was accepted into the 1.1 branch does not correct the problem for me.

      Attached is a test case that almost always fails (on some systems I've tried it fails every time, others it fails 5 out of 6 times)

      [1] http://issues.apache.org/jira/browse/DIRMINA-580?focusedCommentId=12595789#action_12595789

      Attachments

        1. SSLTestMultiClients.java
          7 kB
          Cedric Lucas
        2. SSLTest.zip
          4 kB
          Cedric Lucas
        3. ssltest.zip
          5 kB
          Kevin Koltzau
        4. SslHandler.java
          24 kB
          Cedric Lucas

        Activity

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

          People

            elecharny Emmanuel Lécharny
            kkoltzau Kevin Koltzau
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment