<p></p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/linuxmaniac/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/linuxmaniac">@linuxmaniac</a>, I'm trying to apply the patch you provided but it's not working for me. Maybe it's for a different branch? I tried with 5.6, master and none of them worked.</p>
<pre class="notranslate"><code class="notranslate">patching file src/modules/nats/nats_mod.c
Hunk #1 FAILED at 588.
1 out of 1 hunk FAILED -- saving rejects to file src/modules/nats/nats_mod.c.rej
</code></pre>
<p dir="auto">If I'm changing file manually, then it does not compile any more</p>
<pre class="notranslate"><code class="notranslate">CC (gcc) [M nats.so]            nats_mod.o
nats_mod.c: In function ‘nats_destroy_workers’:
nats_mod.c:591:44: error: invalid type argument of ‘->’ (have ‘uv_poll_t’ {aka ‘struct uv_poll_s’})
  591 |                         if(pub_worker->poll->type != UV_UNKNOWN_HANDLE)
      |                                            ^~
make: *** [../../Makefile.rules:100: nats_mod.o] Error 1
</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/3253#issuecomment-1261024101">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZJVYPGN6MRBU3UWNTTWARK25ANCNFSM6AAAAAAQXGUX5E">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/ABO7UZKAJFJGEU5UPZQNJLDWARK25A5CNFSM6AAAAAAQXGUX5GWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSLFGZWK.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><kamailio/kamailio/issues/3253/1261024101</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/3253#issuecomment-1261024101",
"url": "https://github.com/kamailio/kamailio/issues/3253#issuecomment-1261024101",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>