@linuxmaniac, 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.

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

If I'm changing file manually, then it does not compile any more

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


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/issues/3253/1261024101@github.com>