<p></p>
<h3>Description</h3>
<p>When attempting to use either http_client or http_async_client with tls support enabled and openssl version 1.1.x, Kamailio crashes at startup.</p>
<p>If openssl is reverted to version 1.0.2r as described in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="412474066" data-permission-text="Title is private" data-url="https://github.com/kamailio/kamailio/issues/1860" data-hovercard-type="issue" data-hovercard-url="/kamailio/kamailio/issues/1860/hovercard" href="https://github.com/kamailio/kamailio/issues/1860">#1860</a>, the issue does not occur.</p>
<h4>Reproduction</h4>
<p>On a system using openssl version 1.1.x (e.g. 1.1.1l) start Kamailio 5.5.2 with this config file for http_client failure:</p>
<p><a href="https://github.com/kamailio/kamailio/files/7442436/kamailio.cfg.txt">kamailio.cfg.txt</a></p>
<p>To test http_async_client, load pv.so and http_async_client.so instead of http_client.so.</p>
<h4>Debugging Data</h4>
<p><a href="https://github.com/kamailio/kamailio/files/7442493/bt.txt">bt.txt</a></p>
<h4>Log Messages</h4>
<p><a href="https://github.com/kamailio/kamailio/files/7442496/kam.log.txt">kam.log.txt</a></p>
<h3>Additional Information</h3>
<ul>
<li><strong>Kamailio Version</strong>:</li>
</ul>
<p><a href="https://github.com/kamailio/kamailio/files/7442506/kamversion.txt">kamversion.txt</a></p>
<ul>
<li><strong>Operating System</strong>:</li>
</ul>
<p>Linux 5.4.0-89-generic <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="58866134" data-permission-text="Title is private" data-url="https://github.com/kamailio/kamailio/issues/100" data-hovercard-type="pull_request" data-hovercard-url="/kamailio/kamailio/pull/100/hovercard" href="https://github.com/kamailio/kamailio/pull/100">#100</a>-Ubuntu SMP Fri Sep 24 14:50:10 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux</p>
<p><a href="https://github.com/kamailio/kamailio/files/7442509/os.txt">os.txt</a></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2912">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZLSBBLM3LGNUH63GELUJKUQ3ANCNFSM5G7OJ4EQ">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/ABO7UZNY3CLQMEOJFUNN4TLUJKUQ3A5CNFSM5G7OJ4E2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4PPXKNUQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2912",
"url": "https://github.com/kamailio/kamailio/issues/2912",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>