[jira] [Updated] (AXIS2C-1652) sockets are left in close_wait state by client under SSL

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (AXIS2C-1652) sockets are left in close_wait state by client under SSL

JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/AXIS2C-1652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Marc Lamond updated AXIS2C-1652:
-------------------------------------

    Attachment: ssl_utils.c.patch

> sockets are left in close_wait state by client under SSL
> --------------------------------------------------------
>
>                 Key: AXIS2C-1652
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1652
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/transport
>    Affects Versions: 1.7.0
>         Environment: ALL
>            Reporter: Jean-Marc Lamond
>         Attachments: ssl_utils.c.patch
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]