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

Sporadic error when establishing a StartTLS or SSL connection

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.1.5
    • 2.1.7, 2.0.24
    • Core, SSL
    • Patch, Important

    Description

      With the Mina components, a connection error occasionally occurs when establishing a StartTLS or TLS connection. The cause is that payload data was received immediately on the acknowledgement and is already in the receive buffer.

      My colleagues have changed the checkStatus function of the SslHandler class from apache-mina-2.1.5-src.zip so that the sporadic error demonstrably no longer occurs. Please review the changes and include them in the codebase for the next release.

      I have attached the original version of SslHandler.java, as well as the modified version. Thank you for your support!

      Attachments

        1. SslHandler-mod.java
          30 kB
          Steffen Liersch
        2. SslHandler-compare.png
          76 kB
          Steffen Liersch
        3. SslHandler.java
          29 kB
          Steffen Liersch

        Activity

          People

            Unassigned Unassigned
            s.liersch Steffen Liersch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified