<p>Haven't got around to producing this is in SIPp yet as I've been tied up with other projects and I'm a newbie to SIPp.</p>
<p>The problem only occurs when children in Kamailio is set to anything above 1 which points towards a multi-threaded issue, as it only occurs on TLS not TCP or UDP this would appear to be an OpenSSL multi-threaded issue.</p>
<p>As far as I can tell OpenSSL isn't multi-threaded, to use with mutli-threaded applications requires that at least two callback functions are set, locking_function and threadid_func. I searched for these functions in the Kamailio GitHub repository but couldn't find anything, is this correct?<br>
Source: <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="198269314" data-permission-text="Issue title is private" data-url="https://github.com/openssl/openssl/issues/2165" data-hovercard-type="issue" data-hovercard-url="/openssl/openssl/issues/2165/hovercard" href="https://github.com/openssl/openssl/issues/2165">openssl/openssl#2165</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/1860#issuecomment-482567274">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZV8xivq27owJgEiP7BNNWfr7iRSFks5vgITlgaJpZM4bFbhy">mute the thread</a>.<img src="https://github.com/notifications/beacon/AF36ZUqhZgOjecv-7ssu6Jgb-70G1UsAks5vgITlgaJpZM4bFbhy.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kamailio/kamailio","title":"kamailio/kamailio","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"PERSON","message":"@shaunjstokes in #1860: Haven't got around to producing this is in SIPp yet as I've been tied up with other projects and I'm a newbie to SIPp.\r\n\r\nThe problem only occurs when children in Kamailio is set to anything above 1 which points towards a multi-threaded issue, as it only occurs on TLS not TCP or UDP this would appear to be an OpenSSL multi-threaded issue.\r\n\r\nAs far as I can tell OpenSSL isn't multi-threaded, to use with mutli-threaded applications requires that at least two callback functions are set, locking_function and threadid_func. I searched for these functions in the Kamailio GitHub repository but couldn't find anything, is this correct?\r\nSource: https://github.com/openssl/openssl/issues/2165"}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1860#issuecomment-482567274"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/1860#issuecomment-482567274",
"url": "https://github.com/kamailio/kamailio/issues/1860#issuecomment-482567274",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>