diff --git a/README b/README index 6d9992bf2b7..bce8726560e 100644 --- a/README +++ b/README @@ -1,6 +1,6 @@ -Kamailio v4.3 +Kamailio v4.4 ============= http://www.kamailio.org diff --git a/modules/http_async_client/async_http.c b/modules/http_async_client/async_http.c index b761552ce7f..b45760f8632 100644 --- a/modules/http_async_client/async_http.c +++ b/modules/http_async_client/async_http.c @@ -22,6 +22,12 @@ * */ +/*! \file + * \brief Kamailio http_async_client :: Include file + * \ingroup http_async_client + */ + + #include #include #include @@ -305,7 +311,7 @@ int async_send_query(sip_msg_t *msg, str *query, str *post, cfg_action_t *act) } memset(aq,0,dsize); - if(shm_str_dup(&aq->query, query)<0) { + if(shm_str_dup(&aq->query, query)<0) { goto error; } @@ -361,17 +367,19 @@ int async_send_query(sip_msg_t *msg, str *query, str *post, cfg_action_t *act) goto error; } - if (suspend) + if (suspend) { /* force exit in config */ return 0; + } /* continue route processing */ return 1; error: - if (suspend) + if (suspend) { tmb.t_cancel_suspend(tindex, tlabel); + } free_async_query(aq); return -1; } diff --git a/modules/http_async_client/async_http.h b/modules/http_async_client/async_http.h index 1b03537a72f..bc4203f1200 100644 --- a/modules/http_async_client/async_http.h +++ b/modules/http_async_client/async_http.h @@ -22,6 +22,12 @@ * */ +/*! \file + * \brief Kamailio http_async_client :: Async HTTP + * \ingroup http_async_client + */ + + #ifndef _ASYNC_HTTP_ #define _ASYNC_HTTP_ diff --git a/modules/http_async_client/hm_hash.c b/modules/http_async_client/hm_hash.c index 6ee8071ddf5..9f4452d445d 100644 --- a/modules/http_async_client/hm_hash.c +++ b/modules/http_async_client/hm_hash.c @@ -22,6 +22,12 @@ * */ +/*! \file + * \brief Kamailio http_async_client :: Hash functions + * \ingroup http_async_client + */ + + #include "hm_hash.h" extern int hash_size; @@ -53,6 +59,7 @@ int init_http_m_table(unsigned int size) LM_DBG("hash table %p initialized with size %d\n", hm_table, size); return 0; } + unsigned int build_hash_key(void *p) { str *hash_str; diff --git a/modules/http_async_client/hm_hash.h b/modules/http_async_client/hm_hash.h index 21015cbc3ab..97429a449b2 100644 --- a/modules/http_async_client/hm_hash.h +++ b/modules/http_async_client/hm_hash.h @@ -22,6 +22,12 @@ * */ +/*! \file + * \brief Kamailio http_async_client :: Hash functions + * \ingroup http_async_client + */ + + #ifndef _HM_HASH_ #define _HM_HASH_ diff --git a/modules/http_async_client/http_async_client_mod.c b/modules/http_async_client/http_async_client_mod.c index 33688180efa..7663af9c1fe 100644 --- a/modules/http_async_client/http_async_client_mod.c +++ b/modules/http_async_client/http_async_client_mod.c @@ -22,6 +22,18 @@ * */ +/*! \file + * \brief Kamailio http_async_client :: The module interface file + * \ingroup http_async_client + */ + +/*! \defgroup http_async_client Kamailio :: Async module interface to Curl/HTTP + * + * http://curl.haxx.se + * A generic library for many protocols + * + */ + #include #include #include diff --git a/modules/http_async_client/http_multi.c b/modules/http_async_client/http_multi.c index beda63bc62f..d5767a1dfb3 100644 --- a/modules/http_async_client/http_multi.c +++ b/modules/http_async_client/http_multi.c @@ -22,6 +22,12 @@ * */ +/*! \file + * \brief Kamailio http_async_client :: multi interface + * \ingroup http_async_client + */ + + #include "../../dprint.h" #include "../../mem/mem.h" #include "../../ut.h" diff --git a/modules/http_async_client/http_multi.h b/modules/http_async_client/http_multi.h index 6c3fa217512..74345c49fb5 100644 --- a/modules/http_async_client/http_multi.h +++ b/modules/http_async_client/http_multi.h @@ -22,6 +22,12 @@ * */ +/*! \file + * \brief Kamailio http_async_client :: Multi interface + * \ingroup http_async_client + */ + + #ifndef _HTTP_MULTI_ #define _HTTP_MULTI_