Uploaded image for project: 'Axis2-C'
  1. Axis2-C
  2. AXIS2C-1652

sockets are left in close_wait state by client under SSL

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.7.0
    • None
    • core/transport
    • None
    • ALL

    Description

      JIRA 1605 was still require after 1237 and more...
      openssl SSL_shutdown return 1 when socket s freed.
      see: SSL_shutdown() supports both uni- and bidirectional shutdown by its 2 step behaviour.

      Current code in "ssl_utils.c" is : if(SSL_shutdown(ssl)==0) then SSL_free(ssl)

      Should be:
      SSL_shutdown_status = SSL_shutdown(ssl);
      if (SSL_shutdown_status == 0)

      { SSL_shutdown(ssl); }

      SSL_free(ssl);

      see attached patch file

      Attachments

        1. ssl_utils.c.patch
          0.6 kB
          Jean-Marc Lamond
        2. ssl_utils.c.patch
          1.0 kB
          Jean-Marc Lamond

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jmlamond Jean-Marc Lamond
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: