[sr-dev] [kamailio/kamailio] NATS Module not working (Issue #3253)

iliesh notifications at github.com
Wed Sep 28 16:46:06 CEST 2022


@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 or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3253#issuecomment-1261024101
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/3253/1261024101 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20220928/f7823343/attachment-0001.htm>


More information about the sr-dev mailing list