You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Jean-Marc Lamond (JIRA)" <ji...@apache.org> on 2013/11/15 17:29:21 UTC
[jira] [Closed] (AXIS2C-1652) sockets are left in close_wait state
by client under SSL
[ https://issues.apache.org/jira/browse/AXIS2C-1652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Marc Lamond closed AXIS2C-1652.
------------------------------------
Resolution: Won't Fix
Take to much time when doing SSL_shutdown twice. I change bio option for CLOSE instead of NOCLOSE. Not everything find
> 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, 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: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org