commit | 4a1ab3629d74746af0b6c840eb917ff0cd44b7e9 | [log] [tgz] |
---|---|---|
author | Bill Blough <billblough@apache.org> | Tue Dec 04 04:11:29 2018 +0000 |
committer | Bill Blough <billblough@apache.org> | Tue Dec 04 04:11:29 2018 +0000 |
tree | f16ca3570b73ee39affab2a06c0212789c8e1fc6 | |
parent | 2a7003df8f5513fec196bb92a1068c6be041c952 [diff] |
Fix memory leak in ssl connection The ssl stream is only freed if axis2_http_sender is used to initiate the connection. Direct use of axis2_http_client causes a memory leak since the SSL stream is never properly freed. This commit frees the stream in http_client, and adds safeguards to axis2_ssl_stream_free to prevent issues if called again (such as from http_sender).