Module: kamailio
Branch: master
Commit: c4105a1882582f1a7d4315f419adc4ed3025e809
URL: https://github.com/kamailio/kamailio/commit/c4105a1882582f1a7d4315f419adc4e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-03-10T18:22:27+01:00
db_cluster: docs updates about insert-async support
---
Modified: src/modules/db_cluster/doc/db_cluster_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/c4105a1882582f1a7d4315f419adc4e…
Patch: https://github.com/kamailio/kamailio/commit/c4105a1882582f1a7d4315f419adc4e…
---
diff --git a/src/modules/db_cluster/doc/db_cluster_admin.xml b/src/modules/db_cluster/doc/db_cluster_admin.xml
index eb1e8bc489..9d3da2393a 100644
--- a/src/modules/db_cluster/doc/db_cluster_admin.xml
+++ b/src/modules/db_cluster/doc/db_cluster_admin.xml
@@ -10,9 +10,9 @@
<!-- Module User's Guide -->
<chapter>
-
+
<title>&adminguide;</title>
-
+
<section>
<title>Overview</title>
<para>
@@ -26,8 +26,13 @@
</para>
<para>
The following database commands are considered to be write operations:
- INSERT, DELETE, UPDATE, REPLACE, INSERT-DELAYED, INSERT-UPDATE. The
- read operations are done for database commands: QUERY and RAW-QUERY.
+ INSERT, DELETE, UPDATE, REPLACE, INSERT-DELAYED, INSERT-UPDATE,
+ INSERT-ASYNC. The read operations are done for database commands:
+ QUERY and RAW-QUERY.
+ </para>
+ <para>
+ Note: if INSERT-ASYNC is not implemented by DB connector module, then
+ standard INSERT operation is done.
</para>
</section>
@@ -110,7 +115,7 @@ modparam("db_cluster", "connection",
<para>
<para>
The first two characters is priority and mode for read, followed by
- two characters for priority and mode for write operations. "p" is
+ two characters for priority and mode for write operations. "p" is
only used for write operations.
</para>
<emphasis>
In order to fetch user DB attributes even when user authentication
failed. Default behavior unchanged.
<!-- Kamailio Pull Request Template -->
<!--
IMPORTANT:
- for detailed contributing guidelines, read:
https://github.com/kamailio/kamailio/blob/master/.github/CONTRIBUTING.md
- pull requests must be done to master branch, unless they are backports
of fixes from master branch to a stable branch
- backports to stable branches must be done with 'git cherry-pick -x ...'
- code is contributed under BSD for core and main components (tm, sl, auth, tls)
- code is contributed GPLv2 or a compatible license for the other components
- GPL code is contributed with OpenSSL licensing exception
-->
#### Pre-Submission Checklist
<!-- Go over all points below, and after creating the PR, tick all the checkboxes that apply -->
<!-- All points should be verified, otherwise, read the CONTRIBUTING guidelines from above-->
<!-- If you're unsure about any of these, don't hesitate to ask on sr-dev mailing list -->
- [X] Commit message has the format required by CONTRIBUTING guide
- [X] Commits are split per component (core, individual modules, libs, utils, ...)
- [X] Each component has a single commit (if not, squash them into one commit)
- [X] No commits to README files for modules (changes must be done to docbook files
in `doc/` subfolder, the README file is autogenerated)
#### Type Of Change
- [ ] Small bug fix (non-breaking change which fixes an issue)
- [X] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)
#### Checklist:
<!-- Go over all points below, and after creating the PR, tick the checkboxes that apply -->
- [ ] PR should be backported to stable branches
- [X] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)
#### Description
<!-- Describe your changes in detail -->
Related to discussion: https://lists.kamailio.org/pipermail/sr-dev/2020-March/055912.html
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/2242
-- Commit Summary --
* auth_db: add force_generate_avps parameter
-- File Changes --
M src/modules/auth_db/auth_db_mod.c (2)
M src/modules/auth_db/authorize.c (10)
M src/modules/auth_db/authorize.h (2)
M src/modules/auth_db/doc/auth_db_admin.xml (18)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/2242.patchhttps://github.com/kamailio/kamailio/pull/2242.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/2242
May have something to do with recent two commits.
-- Juha
-----------------------------------------------------------------------
CC (gcc) [M pv.so] pv_trans.o
pv_trans.c: In function 'tr_eval_string':
pv_trans.c:539:22: warning: pointer targets in passing argument 1 of 'base64url_enc' differ in signedness [-Wpointer-sign]
i = base64url_enc((unsigned char *) val->rs.s, val->rs.len,
^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from pv_trans.c:40:
../../core/basex.h:867:5: note: expected 'char *' but argument is of type 'unsigned char *'
int base64url_enc(char *in, int ilen, char *out, int osize);
^~~~~~~~~~~~~
pv_trans.c:540:6: warning: pointer targets in passing argument 3 of 'base64url_enc' differ in signedness [-Wpointer-sign]
(unsigned char *) _tr_buffer, TR_BUFFER_SIZE-1);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from pv_trans.c:40:
../../core/basex.h:867:5: note: expected 'char *' but argument is of type 'unsigned char *'
int base64url_enc(char *in, int ilen, char *out, int osize);
^~~~~~~~~~~~~
pv_trans.c:552:22: warning: pointer targets in passing argument 1 of 'base64url_dec' differ in signedness [-Wpointer-sign]
i = base64url_dec((unsigned char *) val->rs.s, val->rs.len,
^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from pv_trans.c:40:
../../core/basex.h:868:5: note: expected 'char *' but argument is of type 'unsigned char *'
int base64url_dec(char *in, int ilen, char *out, int osize);
^~~~~~~~~~~~~
pv_trans.c:553:6: warning: pointer targets in passing argument 3 of 'base64url_dec' differ in signedness [-Wpointer-sign]
(unsigned char *) _tr_buffer, TR_BUFFER_SIZE-1);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from pv_trans.c:40:
../../core/basex.h:868:5: note: expected 'char *' but argument is of type 'unsigned char *'
int base64url_dec(char *in, int ilen, char *out, int osize);
^~~~~~~~~~~~~
pv_trans.c:565:22: warning: pointer targets in passing argument 1 of 'base64url_enc' differ in signedness [-Wpointer-sign]
i = base64url_enc((unsigned char *) val->rs.s, val->rs.len,
^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from pv_trans.c:40:
../../core/basex.h:867:5: note: expected 'char *' but argument is of type 'unsigned char *'
int base64url_enc(char *in, int ilen, char *out, int osize);
^~~~~~~~~~~~~
pv_trans.c:566:6: warning: pointer targets in passing argument 3 of 'base64url_enc' differ in signedness [-Wpointer-sign]
(unsigned char *) _tr_buffer, TR_BUFFER_SIZE-1);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from pv_trans.c:40:
../../core/basex.h:867:5: note: expected 'char *' but argument is of type 'unsigned char *'
int base64url_enc(char *in, int ilen, char *out, int osize);
^~~~~~~~~~~~~
pv_trans.c:597:23: warning: pointer targets in passing argument 1 of 'base64url_dec' differ in signedness [-Wpointer-sign]
i = base64url_dec((unsigned char *) st.s, st.len,
^~~~~~~~~~~~~~~~~~~~~~
In file included from pv_trans.c:40:
../../core/basex.h:868:5: note: expected 'char *' but argument is of type 'unsigned char *'
int base64url_dec(char *in, int ilen, char *out, int osize);
^~~~~~~~~~~~~
pv_trans.c:598:7: warning: pointer targets in passing argument 3 of 'base64url_dec' differ in signedness [-Wpointer-sign]
(unsigned char *) _tr_buffer, TR_BUFFER_SIZE-1);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from pv_trans.c:40:
../../core/basex.h:868:5: note: expected 'char *' but argument is of type 'unsigned char *'
int base64url_dec(char *in, int ilen, char *out, int osize);
^~~~~~~~~~~~~
pv_trans.c:600:23: warning: pointer targets in passing argument 1 of 'base64url_dec' differ in signedness [-Wpointer-sign]
i = base64url_dec((unsigned char *) val->rs.s, val->rs.len,
^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from pv_trans.c:40:
../../core/basex.h:868:5: note: expected 'char *' but argument is of type 'unsigned char *'
int base64url_dec(char *in, int ilen, char *out, int osize);
^~~~~~~~~~~~~
pv_trans.c:601:7: warning: pointer targets in passing argument 3 of 'base64url_dec' differ in signedness [-Wpointer-sign]
(unsigned char *) _tr_buffer, TR_BUFFER_SIZE-1);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from pv_trans.c:40:
../../core/basex.h:868:5: note: expected 'char *' but argument is of type 'unsigned char *'
int base64url_dec(char *in, int ilen, char *out, int osize);
^~~~~~~~~~~~~
------------------------------------------------------------------------
Mar 7 00:15:46 char sip-proxy[21381]: 0(21433) ERROR: <core> [core/sr_module.c:512]: load_module(): could not open module </usr/lib/x86_64-linux-gnu/sip-proxy/modules/pv.so>: /usr/lib/x86_64-linux-gnu/sip-proxy/modules/pv.so: undefined symbol: base64url_enc