-remove local libnsq files
-pass NULL for NSQReaderCfg to new_nsq_reader()
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/745
-- Commit Summary --
* remove reader.c from module and use libnsq reader.c
* remove nsq.h in favor of libnsq; remove utlist.h in favor of uthash-dev
* remove http.h in favor of libnsq
* update new_nsq_reader() function call
-- File Changes --
D modules/nsq/http.h (48)
D modules/nsq/nsq.h (…
[View More]91)
M modules/nsq/nsq_mod.c (2)
D modules/nsq/reader.c (173)
D modules/nsq/utlist.h (728)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/745.patchhttps://github.com/kamailio/kamailio/pull/745.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/745
[View Less]
On a Linux 64 bits Ubuntu, I'm trying to use the http_async_client to send a POST message but whatever I set, it always suspends the current route contrary to the content of the documentation.
When I look at the C code it seems to be done on purpose as the return for the POST is different than the return from the get:
static int w_http_async_get(sip_msg_t *msg, char *query, char* rt)
{
...
return async_send_query(msg, &sdata, NULL, act);
}
static int w_http_async_post(sip_msg_t *msg, …
[View More]char *query, char* post, char* rt)
{
...
if(async_send_query(msg, &sdata, &post_data, act)<0)
return -1;
/* force exit in config */
return 0;
}
I was expecting the post function to work as the get one and to finish with something like:
return async_send_query(msg, &sdata, &post_data, act);
Based on the document it looks like a bug but the comment bothers me and let me think it might be done on purpose (which one?)
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/744
[View Less]