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/14 17:57:21 UTC
[jira] [Created] (AXIS2C-1652) sockets are left in close_wait state
by client under SSL
Jean-Marc Lamond created AXIS2C-1652:
----------------------------------------
Summary: 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: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org