kamailio.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2024
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
List overview
Download
sr-dev
October 2017
----- 2024 -----
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
sr-dev@lists.kamailio.org
33 participants
301 discussions
Start a n
N
ew thread
git:master:18b99626: core: fix bitwise test for priting socket details
by Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 18b996262fb1c7bde94b494ce837754dc82c9e7e URL:
https://github.com/kamailio/kamailio/commit/18b996262fb1c7bde94b494ce837754…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2017-10-13T12:33:30+02:00 core: fix bitwise test for priting socket details --- Modified: src/core/socket_info.c --- Diff:
https://github.com/kamailio/kamailio/commit/18b996262fb1c7bde94b494ce837754…
Patch:
https://github.com/kamailio/kamailio/commit/18b996262fb1c7bde94b494ce837754…
--- diff --git a/src/core/socket_info.c b/src/core/socket_info.c index a50cfe3e59..424c5d83e8 100644 --- a/src/core/socket_info.c +++ b/src/core/socket_info.c @@ -1913,7 +1913,7 @@ void print_all_socket_lists() printf(" %s: %s", get_valid_proto_name(proto), si->name.s); - if (!si->flags & SI_IS_IP) + if (!(si->flags & SI_IS_IP)) printf(" [%s]", si->address_str.s); printf( ":%s%s%s", si->port_no_str.s,
7 years, 1 month
1
0
0
0
git:master:f662a625: core: fix for bitwise test in core rpc command
by Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: f662a62519f99e046caf03063147104af22ec3c3 URL:
https://github.com/kamailio/kamailio/commit/f662a62519f99e046caf03063147104…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2017-10-13T12:33:30+02:00 core: fix for bitwise test in core rpc command --- Modified: src/core/core_cmd.c --- Diff:
https://github.com/kamailio/kamailio/commit/f662a62519f99e046caf03063147104…
Patch:
https://github.com/kamailio/kamailio/commit/f662a62519f99e046caf03063147104…
--- diff --git a/src/core/core_cmd.c b/src/core/core_cmd.c index a489a8975d..16b36e5a2b 100644 --- a/src/core/core_cmd.c +++ b/src/core/core_cmd.c @@ -944,7 +944,7 @@ static void core_sockets_list(rpc_t* rpc, void* c) rpc->struct_add(ha, "ss", "proto", get_proto_name(proto), "address", si->name.s); - if (!si->flags & SI_IS_IP) + if (!(si->flags & SI_IS_IP)) rpc->struct_add(ha, "s", "ipaddress", si->address_str.s); rpc->struct_add(ha, "sss",
7 years, 1 month
1
0
0
0
git:master:9c3958e7: modules: readme files regenerated - nat_traversal ... [skip ci]
by Kamailio Dev
Module: kamailio Branch: master Commit: 9c3958e77c2f6bfcf7a66e36b05a163447f33c5b URL:
https://github.com/kamailio/kamailio/commit/9c3958e77c2f6bfcf7a66e36b05a163…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org> Committer: Kamailio Dev <kamailio.dev(a)kamailio.org> Date: 2017-10-13T11:01:45+02:00 modules: readme files regenerated - nat_traversal ... [skip ci] --- Modified: src/modules/nat_traversal/README --- Diff:
https://github.com/kamailio/kamailio/commit/9c3958e77c2f6bfcf7a66e36b05a163…
Patch:
https://github.com/kamailio/kamailio/commit/9c3958e77c2f6bfcf7a66e36b05a163…
--- diff --git a/src/modules/nat_traversal/README b/src/modules/nat_traversal/README index 9b37228d60..c3054862e4 100644 --- a/src/modules/nat_traversal/README +++ b/src/modules/nat_traversal/README @@ -50,7 +50,7 @@ Dan Pascu 6.3. subscribed_endpoints 6.4. dialog_endpoints - 7. Exported pseudo-variables + 7. Pseudo Variables 7.1. $keepalive.socket(nat_endpoint) 7.2. $source_uri @@ -113,7 +113,7 @@ Chapter 1. Admin Guide 6.3. subscribed_endpoints 6.4. dialog_endpoints - 7. Exported pseudo-variables + 7. Pseudo Variables 7.1. $keepalive.socket(nat_endpoint) 7.2. $source_uri @@ -605,7 +605,7 @@ if ((method=="REGISTER" || method=="SUBSCRIBE" || Indicates how many of the NAT endpoints are kept alive for taking part in an INVITE dialog. -7. Exported pseudo-variables +7. Pseudo Variables 7.1. $keepalive.socket(nat_endpoint) 7.2. $source_uri
7 years, 1 month
1
0
0
0
git:master:c7f40f8a: sipdump: new module saving sip traffic and additional details into local files
by Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: c7f40f8a2acbfad5c755aa32bdbb39a491899e2b URL:
https://github.com/kamailio/kamailio/commit/c7f40f8a2acbfad5c755aa32bdbb39a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2017-10-13T10:57:19+02:00 sipdump: new module saving sip traffic and additional details into local files - aiming to help troubleshooting during development or testing, especially when dealing with SIP over TLS with forward privacy --- Added: src/modules/sipdump/Makefile Added: src/modules/sipdump/README Added: src/modules/sipdump/doc/Makefile Added: src/modules/sipdump/doc/sipdump.xml Added: src/modules/sipdump/doc/sipdump_admin.xml Added: src/modules/sipdump/sipdump_mod.c Added: src/modules/sipdump/sipdump_write.c Added: src/modules/sipdump/sipdump_write.h --- Diff:
https://github.com/kamailio/kamailio/commit/c7f40f8a2acbfad5c755aa32bdbb39a…
Patch:
https://github.com/kamailio/kamailio/commit/c7f40f8a2acbfad5c755aa32bdbb39a…
7 years, 1 month
1
0
0
0
git:master:642dcef1: nat_traversal: added section ids in docs
by Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 642dcef14271bc1376a54f8afe3a159d4e831ba6 URL:
https://github.com/kamailio/kamailio/commit/642dcef14271bc1376a54f8afe3a159…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2017-10-13T09:34:59+02:00 nat_traversal: added section ids in docs --- Modified: src/modules/nat_traversal/doc/nat_traversal_admin.xml --- Diff:
https://github.com/kamailio/kamailio/commit/642dcef14271bc1376a54f8afe3a159…
Patch:
https://github.com/kamailio/kamailio/commit/642dcef14271bc1376a54f8afe3a159…
7 years, 1 month
1
0
0
0
[kamailio/kamailio] crash on infinite loop processing a call (#1263)
by Victor Seva
<!-- Kamailio Project uses GitHub Issues only for bugs in the code or feature requests. If you have questions about using Kamailio or related to its configuration file, ask on sr-users mailing list: *
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
If you have questions about developing extensions to Kamailio or its existing C code, ask on sr-dev mailing list *
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
Please try to fill this template as much as possible for any issue. It helps the developers to troubleshoot the issue. If you submit a feature request (or enhancement), you can delete the text of the template and only add the description of what you would like to be added. If there is no content to be filled in a section, the entire section can be removed. You can delete the comments from the template sections when filling. You can delete next line and everything above before submitting (it is a comment). --> ### Description config was wrongly sending the call to a not properly constructed destination and the loop end was not properly detected so a infinite loop was created. Anyhow, kamailio process should not crash. ### Troubleshooting #### Debugging Data <!-- If you got a core dump, use gdb to extract troubleshooting data - full backtrace, local variables and the list of the code at the issue location. gdb /path/to/kamailio /path/to/corefile bt full info locals list If you are familiar with gdb, feel free to attach more of what you consider to be relevant. --> ``` (gdb) bt #0 0x0000000000568783 in rval_get_tmp_str (h=0x0, msg=0x0, tmpv=0x0, rv=0x0, cache=0x0, tmp_cache=0x0) at core/rvalue.c:1098 #1 0x0000000000569889 in rval_convert (h=0x7fff558296a0, msg=0x7efefebd5fb8, type=RV_STR, v=0x7eff0f922c70, c=0x0) at core/rvalue.c:1308 #2 0x000000000056b3a0 in rval_str_add2 (h=0x7fff558296a0, msg=0x7efefebd5fb8, l=0x7eff0f922540, c1=0x0, r=0x7eff0f922c70, c2=0x0) at core/rvalue.c:1634 #3 0x000000000057211e in rval_expr_eval (h=0x7fff558296a0, msg=0x7efefebd5fb8, rve=0x7eff0f923398) at core/rvalue.c:2462 #4 0x00000000005717ad in rval_expr_eval (h=0x7fff558296a0, msg=0x7efefebd5fb8, rve=0x7eff0f9241f8) at core/rvalue.c:2446 #5 0x00000000005717ad in rval_expr_eval (h=0x7fff558296a0, msg=0x7efefebd5fb8, rve=0x7eff0f925058) at core/rvalue.c:2446 #6 0x00000000005717ad in rval_expr_eval (h=0x7fff558296a0, msg=0x7efefebd5fb8, rve=0x7eff0f925f28) at core/rvalue.c:2446 #7 0x00000000004cb551 in lval_assign (h=0x7fff558296a0, msg=0x7efefebd5fb8, lv=0x7eff0f9223d8, rve=0x7eff0f925f28) at core/lvalue.c:384 #8 0x000000000043e38a in do_action (h=0x7fff558296a0, a=0x7eff0f926658, msg=0x7efefebd5fb8) at core/action.c:1430 #9 0x000000000043fe83 in run_actions (h=0x7fff558296a0, a=0x7eff0f917968, msg=0x7efefebd5fb8) at core/action.c:1552 #10 0x000000000042f7a1 in do_action (h=0x7fff558296a0, a=0x7eff0f8f9b18, msg=0x7efefebd5fb8) at core/action.c:678 #11 0x000000000043fe83 in run_actions (h=0x7fff558296a0, a=0x7eff0f8f9b18, msg=0x7efefebd5fb8) at core/action.c:1552 #12 0x0000000000440563 in run_actions_safe (h=0x7fff5582aee0, a=0x7eff0f8f9b18, msg=0x7efefebd5fb8) at core/action.c:1620 #13 0x000000000056794f in rval_get_int (h=0x7fff5582aee0, msg=0x7efefebd5fb8, i=0x7fff55829a84, rv=0x7eff0f8f9c70, cache=0x0) at core/rvalue.c:912 #14 0x000000000056bfc9 in rval_expr_eval_int (h=0x7fff5582aee0, msg=0x7efefebd5fb8, res=0x7fff55829a84, rve=0x7eff0f8f9c68) at core/rvalue.c:1906 #15 0x000000000042b45a in do_action (h=0x7fff5582aee0, a=0x7eff0f8fa398, msg=0x7efefebd5fb8) at core/action.c:345 #16 0x000000000043fe83 in run_actions (h=0x7fff5582aee0, a=0x7eff0f8fa398, msg=0x7efefebd5fb8) at core/action.c:1552 #17 0x0000000000432f47 in do_action (h=0x7fff5582aee0, a=0x7eff0f8fa4e8, msg=0x7efefebd5fb8) at core/action.c:1045 #18 0x000000000043fe83 in run_actions (h=0x7fff5582aee0, a=0x7eff0f8f15c0, msg=0x7efefebd5fb8) at core/action.c:1552 #19 0x000000000042f7a1 in do_action (h=0x7fff5582aee0, a=0x7eff0f926bb0, msg=0x7efefebd5fb8) at core/action.c:678 #20 0x000000000043fe83 in run_actions (h=0x7fff5582aee0, a=0x7eff0f926bb0, msg=0x7efefebd5fb8) at core/action.c:1552 #21 0x0000000000440563 in run_actions_safe (h=0x7fff5582c040, a=0x7eff0f926bb0, msg=0x7efefebd5fb8) at core/action.c:1620 [...] (gdb) f 8 #8 0x000000000043e38a in do_action (h=0x7fff558296a0, a=0x7eff0f926658, msg=0x7efefebd5fb8) at core/action.c:1430 1430 v=lval_assign(h, msg, (struct lvalue*)a->val[0].u.data, (gdb) p (struct lvalue*)a->val[0].u.data $1 = (struct lvalue *) 0x7eff0f9223d8 (gdb) p *(struct lvalue*)a->val[0].u.data $2 = {type = LV_PVAR, lv = {pvs = 0x7eff0f7dcf38, avps = {type = 259903288, name = {n = 0, s = {s = 0x0, len = 0}, re = 0x0}, index = 0}}} (gdb) f 7 #7 0x00000000004cb551 in lval_assign (h=0x7fff558296a0, msg=0x7efefebd5fb8, lv=0x7eff0f9223d8, rve=0x7eff0f925f28) at core/lvalue.c:384 384 rv=rval_expr_eval(h, msg, rve); (gdb) p *rve $3 = {op = RVE_CONCAT_OP, left = {rve = 0x7eff0f925058, rval = {type = 261247064, refcnt = 32511, v = {p = 0x0, l = 0, s = {s = 0x0, len = 0}, avps = {type = 0, name = {n = 0, s = {s = 0x0, len = 0}, re = 0x0}, index = 0}, sel = {f = {0x0, 0x0, 0x0, 0x0}, param_offset = {0, 0, 0, 0, 0}, params = {{type = SEL_PARAM_INT, v = {i = 0, s = {s = 0x0, len = 0}, p = 0x0}} <repeats 32 times>}, n = 0}, pvs = {type = PVT_NONE, getf = 0x0, setf = 0x0, pvp = {pvn = {type = 0, nfree = 0x0, u = {isname = {type = 0, name = {n = 0, s = {s = 0x0, len = 0}, re = 0x0}}, dname = 0x0}}, pvi = {type = 0, u = {ival = 0, dval = 0x0}}}, trans = 0x0}, action = 0x0, bexpr = 0x0, re = {s = {s = 0x0, len = 0}, regex = 0x0}}, bsize = 0, flags = 0, buf = ""}}, right = {rve = 0x7eff0f925788, rval = {type = 261248904, refcnt = 32511, v = {p = 0x0, l = 0, s = {s = 0x0, len = 0}, avps = {type = 0, name = {n = 0, s = {s = 0x0, len = 0}, re = 0x0}, index = 0}, sel = {f = {0x0, 0x0, 0x0, 0x0}, param_offset = {0, 0, 0, 0, 0}, params = {{type = SEL_PARAM_INT, v = {i = 0, s = {s = 0x0, len = 0}, p = 0x0}} <repeats 32 times>}, n = 0}, pvs = {type = PVT_NONE, getf = 0x0, setf = 0x0, pvp = {pvn = {type = 0, nfree = 0x0, u = {isname = {type = 0, name = {n = 0, s = {s = 0x0, len = 0}, re = 0x0}}, dname = 0x0}}, pvi = {type = 0, u = {ival = 0, dval = 0x0}}}, trans = 0x0}, action = 0x0, bexpr = 0x0, re = {s = {s = 0x0, len = 0}, regex = 0x0}}, bsize = 0, flags = 0, buf = ""}}, fpos = {s_line = 1144, e_line = 1144, s_col = 11, e_col = 62, fname = 0x7fff56026e01 "/etc/kamailio/kamailio.cfg", rname = 0x7eff0f915db0 "SEND_TO_NEXT_DISPATCH"}} (gdb) f 6 #6 0x00000000005717ad in rval_expr_eval (h=0x7fff558296a0, msg=0x7efefebd5fb8, rve=0x7eff0f925f28) at core/rvalue.c:2446 2446 rv1=rval_expr_eval(h, msg, rve->left.rve); (gdb) p rve->left.rve $4 = (struct rval_expr *) 0x7eff0f925058 (gdb) p *rve->left.rve $5 = {op = RVE_CONCAT_OP, left = {rve = 0x7eff0f9241f8, rval = {type = 261243384, refcnt = 32511, v = {p = 0x0, l = 0, s = {s = 0x0, len = 0}, avps = {type = 0, name = {n = 0, s = {s = 0x0, len = 0}, re = 0x0}, index = 0}, sel = {f = {0x0, 0x0, 0x0, 0x0}, param_offset = {0, 0, 0, 0, 0}, params = {{type = SEL_PARAM_INT, v = {i = 0, s = {s = 0x0, len = 0}, p = 0x0}} <repeats 32 times>}, n = 0}, pvs = {type = PVT_NONE, getf = 0x0, setf = 0x0, pvp = {pvn = {type = 0, nfree = 0x0, u = {isname = {type = 0, name = {n = 0, s = {s = 0x0, len = 0}, re = 0x0}}, dname = 0x0}}, pvi = {type = 0, u = {ival = 0, dval = 0x0}}}, trans = 0x0}, action = 0x0, bexpr = 0x0, re = {s = {s = 0x0, len = 0}, regex = 0x0}}, bsize = 0, flags = 0, buf = ""}}, right = {rve = 0x7eff0f924928, rval = {type = 261245224, refcnt = 32511, v = {p = 0x0, l = 0, s = {s = 0x0, len = 0}, avps = {type = 0, name = {n = 0, s = {s = 0x0, len = 0}, re = 0x0}, index = 0}, sel = {f = {0x0, 0x0, 0x0, 0x0}, param_offset = {0, 0, 0, 0, 0}, params = {{type = SEL_PARAM_INT, v = {i = 0, s = {s = 0x0, len = 0}, p = 0x0}} <repeats 32 times>}, n = 0}, pvs = {type = PVT_NONE, getf = 0x0, setf = 0x0, pvp = {pvn = {type = 0, nfree = 0x0, u = {isname = {type = 0, name = {n = 0, s = {s = 0x0, len = 0}, re = 0x0}}, dname = 0x0}}, pvi = {type = 0, u = {ival = 0, dval = 0x0}}}, trans = 0x0}, action = 0x0, bexpr = 0x0, re = {s = {s = 0x0, len = 0}, regex = 0x0}}, bsize = 0, flags = 0, buf = ""}}, fpos = {s_line = 1144, e_line = 1144, s_col = 11, e_col = 52, fname = 0x7fff56026e01 "/etc/kamailio/kamailio.cfg", rname = 0x7eff0f915db0 "SEND_TO_NEXT_DISPATCH"}} (gdb) f 5 #5 0x00000000005717ad in rval_expr_eval (h=0x7fff558296a0, msg=0x7efefebd5fb8, rve=0x7eff0f925058) at core/rvalue.c:2446 2446 rv1=rval_expr_eval(h, msg, rve->left.rve); (gdb) p rve->left.rve $6 = (struct rval_expr *) 0x7eff0f9241f8 (gdb) p *rve->left.rve $7 = {op = RVE_CONCAT_OP, left = {rve = 0x7eff0f923398, rval = {type = 261239704, refcnt = 32511, v = {p = 0x0, l = 0, s = {s = 0x0, len = 0}, avps = {type = 0, name = {n = 0, s = {s = 0x0, len = 0}, re = 0x0}, index = 0}, sel = {f = {0x0, 0x0, 0x0, 0x0}, param_offset = {0, 0, 0, 0, 0}, params = {{type = SEL_PARAM_INT, v = {i = 0, s = {s = 0x0, len = 0}, p = 0x0}} <repeats 32 times>}, n = 0}, pvs = {type = PVT_NONE, getf = 0x0, setf = 0x0, pvp = {pvn = {type = 0, nfree = 0x0, u = {isname = {type = 0, name = {n = 0, s = {s = 0x0, len = 0}, re = 0x0}}, dname = 0x0}}, pvi = {type = 0, u = {ival = 0, dval = 0x0}}}, trans = 0x0}, action = 0x0, bexpr = 0x0, re = {s = {s = 0x0, len = 0}, regex = 0x0}}, bsize = 0, flags = 0, buf = ""}}, right = {rve = 0x7eff0f923ac8, rval = {type = 261241544, refcnt = 32511, v = {p = 0x0, l = 0, s = {s = 0x0, len = 0}, avps = {type = 0, name = {n = 0, s = {s = 0x0, len = 0}, re = 0x0}, index = 0}, sel = {f = {0x0, 0x0, 0x0, 0x0}, param_offset = {0, 0, 0, 0, 0}, params = {{type = SEL_PARAM_INT, v = {i = 0, s = {s = 0x0, len = 0}, p = 0x0}} <repeats 32 times>}, n = 0}, pvs = {type = PVT_NONE, getf = 0x0, setf = 0x0, pvp = {pvn = {type = 0, nfree = 0x0, u = {isname = {type = 0, name = {n = 0, s = {s = 0x0, len = 0}, re = 0x0}}, dname = 0x0}}, pvi = {type = 0, u = {ival = 0, dval = 0x0}}}, trans = 0x0}, action = 0x0, bexpr = 0x0, re = {s = {s = 0x0, len = 0}, regex = 0x0}}, bsize = 0, flags = 0, buf = ""}}, fpos = {s_line = 1144, e_line = 1144, s_col = 11, e_col = 28, fname = 0x7fff56026e01 "/etc/kamailio/kamailio.cfg", rname = 0x7eff0f915db0 "SEND_TO_NEXT_DISPATCH"}} (gdb) f 4 #4 0x00000000005717ad in rval_expr_eval (h=0x7fff558296a0, msg=0x7efefebd5fb8, rve=0x7eff0f9241f8) at core/rvalue.c:2446 2446 rv1=rval_expr_eval(h, msg, rve->left.rve); (gdb) p rve->left.rve $8 = (struct rval_expr *) 0x7eff0f923398 (gdb) p *rve->left.rve $9 = {op = RVE_CONCAT_OP, left = {rve = 0x7eff0f922538, rval = {type = 261236024, refcnt = 32511, v = {p = 0x0, l = 0, s = {s = 0x0, len = 0}, avps = {type = 0, name = {n = 0, s = {s = 0x0, len = 0}, re = 0x0}, index = 0}, sel = {f = {0x0, 0x0, 0x0, 0x0}, param_offset = {0, 0, 0, 0, 0}, params = {{type = SEL_PARAM_INT, v = {i = 0, s = {s = 0x0, len = 0}, p = 0x0}} <repeats 32 times>}, n = 0}, pvs = {type = PVT_NONE, getf = 0x0, setf = 0x0, pvp = {pvn = {type = 0, nfree = 0x0, u = {isname = {type = 0, name = {n = 0, s = {s = 0x0, len = 0}, re = 0x0}}, dname = 0x0}}, pvi = {type = 0, u = {ival = 0, dval = 0x0}}}, trans = 0x0}, action = 0x0, bexpr = 0x0, re = {s = {s = 0x0, len = 0}, regex = 0x0}}, bsize = 0, flags = 0, buf = ""}}, right = {rve = 0x7eff0f922c68, rval = {type = 261237864, refcnt = 32511, v = {p = 0x0, l = 0, s = {s = 0x0, len = 0}, avps = {type = 0, name = {n = 0, s = {s = 0x0, len = 0}, re = 0x0}, index = 0}, sel = {f = {0x0, 0x0, 0x0, 0x0}, param_offset = {0, 0, 0, 0, 0}, params = {{type = SEL_PARAM_INT, v = {i = 0, s = {s = 0x0, len = 0}, p = 0x0}} <repeats 32 times>}, n = 0}, pvs = {type = PVT_NONE, getf = 0x0, setf = 0x0, pvp = {pvn = {type = 0, nfree = 0x0, u = {isname = {type = 0, name = {n = 0, s = {s = 0x0, len = 0}, re = 0x0}}, dname = 0x0}}, pvi = {type = 0, u = {ival = 0, dval = 0x0}}}, trans = 0x0}, action = 0x0, bexpr = 0x0, re = {s = {s = 0x0, len = 0}, regex = 0x0}}, bsize = 0, flags = 0, buf = ""}}, fpos = {s_line = 1144, e_line = 1144, s_col = 11, e_col = 22, fname = 0x7fff56026e01 "/etc/kamailio/kamailio.cfg", rname = 0x7eff0f915db0 "SEND_TO_NEXT_DISPATCH"}} (gdb) f 3 #3 0x000000000057211e in rval_expr_eval (h=0x7fff558296a0, msg=0x7efefebd5fb8, rve=0x7eff0f923398) at core/rvalue.c:2462 2462 ret=rval_str_add2(h, msg, rv1, 0, rv2, 0); (gdb) p r1 r2 No symbol "r1" in current context. (gdb) p rv1 $10 = (struct rvalue *) 0x7eff0f922540 (gdb) p rv2 $11 = (struct rvalue *) 0x7eff0f922c70 (gdb) p *rv1 $12 = {type = RV_STR, refcnt = 3, v = {p = 0x7eff0f921e78, l = 139633942994552, s = {s = 0x7eff0f921e78 "sip:", len = 4}, avps = {type = 261234296, name = {n = 4, s = {s = 0x7eff00000004 "", len = 147196536}, re = 0x7eff00000004}, index = 1}, sel = {f = {0x7eff0f921e78, 0x7eff00000004, 0x7eff08c60a78 <pv_set_scriptvar>, 0x1}, param_offset = {0, 90, 7861601, 0, 261235616}, params = {{type = 258031632, v = {i = 0, s = {s = 0x0, len = 0}, p = 0x0}}, {type = 261235616, v = {i = 258031632, s = {s = 0x7eff0f614010 "\001", len = 0}, p = 0x7eff0f614010}}, {type = 8108800, v = {i = 258032704, s = {s = 0x7eff0f614440 "", len = 258032704}, p = 0x7eff0f614440}}, {type = 1442987344, v = {i = 6691748, s = {s = 0x661ba4 <qm_free+6132> "H\201\304", <incomplete sequence \330>, len = 0}, p = 0x661ba4 <qm_free+6132>}}, {type = 261233544, v = {i = 258031632, s = {s = 0x160f614010 <error: Cannot access memory at address 0x160f614010>, len = 1442987176}, p = 0x160f614010}}, {type = 6676612, v = {i = 261234240, s = {s = 0x7eff0f921e40 "\b", len = 258031632}, p = 0x7eff0f921e40}}, {type = 1442987248, v = {i = 6682339, s = {s = 0x9f0065f6e3 <error: Cannot access memory at address 0x9f0065f6e3>, len = 258049504}, p = 0x9f0065f6e3}}, {type = 258049504, v = {i = 1442987280, s = { s = 0x7fff56023d10 "\260's\001", len = 6682339}, p = 0x7fff56023d10}}, {type = 8389724, v = {i = 8112983, s = {s = 0x7bcb57 "fragm. from qm_malloc", len = 8389724}, p = 0x7bcb57}}, {type = 128, v = {i = 261234008, s = {s = 0x7eff0f921d58 "\200", len = 258031632}, p = 0x7eff0f921d58}}, {type = 23734457, v = {i = 0, s = {s = 0x0, len = 8108800}, p = 0x0}}, {type = 261234240, v = {i = 23734457, s = {s = 0x16a28b9 "ip:", len = 1442987536}, p = 0x16a28b9}}, {type = 6684728, v = {i = 8388886, s = {s = 0x800116 "core", len = 23734452}, p = 0x800116}}, {type = 1442987568, v = {i = 6684728, s = {s = 0x660038 <qm_malloc+2370> "H\213E\310H\203\300\070\351Y\003", len = 8388886}, p = 0x660038 <qm_malloc+2370>}}, {type = 258056000, v = {i = 1442987616, s = {s = 0x7fff56023e60 "\t", len = 6691748}, p = 0x7fff56023e60}}, {type = 7844384, v = {i = 5664136, s = {s = 0x7600566d88 <error: Cannot access memory at address 0x7600566d88>, len = 7860583}, p = 0x7600566d88}}, {type = 7844389, v = {i = 8388886, s = {s = 0x800116 "core", len = 258031632}, p = 0x800116}}, {type = 8402319, v = {i = 8389724, s = {s = 0x80045c "core: core/cfg.lex", len = 128}, p = 0x80045c}}, {type = 258031632, v = {i = 8402319, s = {s = 0x80358f <__FUNCTION__.7705> "addstr", len = 8389724}, p = 0x80358f <__FUNCTION__.7705>}}, { type = SEL_PARAM_STR, v = {i = 258031632, s = {s = 0x7eff0f614010 "\001", len = 258031632}, p = 0x7eff0f614010}}, {type = 261234008, v = {i = 1, s = {s = 0x7eff00000001 "", len = 23734457}, p = 0x7eff00000001}}, {type = 374, v = {i = 23734456, s = {s = 0x16a28b8 "sip:", len = 8}, p = 0x16a28b8}}, {type = SEL_PARAM_INT, v = {i = 1442987680, s = {s = 0x7fff56023ea0 "\210\037", len = 7461677}, p = 0x7fff56023ea0}}, {type = 1442987824, v = {i = 8463786, s = {s = 0xa45008125aa <error: Cannot access memory at address 0xa45008125aa>, len = 8112983}, p = 0xa45008125aa}}, {type = 7461677, v = {i = 1442987700, s = {s = 0x7fff56023eb4 "\376~", len = 11420944}, p = 0x7fff56023eb4}}, {type = 261235672, v = {i = 0, s = {s = 0x0, len = 23734460}, p = 0x0}}, {type = 11420944, v = {i = 258032704, s = { s = 0x7eff0f614440 "", len = 23734460}, p = 0x7eff0f614440}}, {type = 374, v = {i = 23734459, s = {s = 0x16a28bb ":", len = 11420972}, p = 0x16a28bb}}, {type = 23734462, v = {i = 377, s = {s = 0x179 <error: Cannot access memory at address 0x179>, len = 23734462}, p = 0x179}}, {type = SEL_PARAM_STR, v = {i = 0, s = {s = 0x0, len = 1442987904}, p = 0x0}}, {type = 7446070, v = {i = 261227880, s = {s = 0x7eff0f920568 "\"", len = 261235672}, p = 0x7eff0f920568}}, {type = SEL_PARAM_INT, v = {i = 258384760, s = { s = 0x7eff0f66a378 "
blue.foeedc.proxy.staging.voxivo.com
", len = 0}, p = 0x7eff0f66a378}}}, n = 0}, pvs = {type = 261234296, getf = 0x7eff00000004, setf = 0x7eff08c60a78 <pv_set_scriptvar>, pvp = {pvn = {type = 1, nfree = 0x5a00000000, u = {isname = {type = 7861601, name = {n = 261235616, s = {s = 0x7eff0f9223a0 "H", len = 258031632}, re = 0x7eff0f9223a0}}, dname = 0x77f561}}, pvi = {type = 0, u = {ival = 0, dval = 0x0}}}, trans = 0x7eff0f9223a0}, action = 0x7eff0f921e78, bexpr = 0x7eff0f921e78, re = {s = { s = 0x7eff0f921e78 "sip:", len = 4}, regex = 0x7eff08c60a78 <pv_set_scriptvar>}}, bsize = 0, flags = 1, buf = ""} (gdb) p *rv2 $13 = {type = RV_PVAR, refcnt = 2, v = {p = 0x7, l = 7, s = {s = 0x7 <error: Cannot access memory at address 0x7>, len = 147123646}, avps = {type = 7, name = {n = 147123646, s = { s = 0x7eff08c4edbe <pv_get_ruri_attr> "UH\211\345AWAVAUATSH\203\354HH\211}\270H\211u\260H\211U\250H\203}\270", len = 147203592}, re = 0x7eff08c4edbe <pv_get_ruri_attr>}, index = 0}, sel = {f = {0x7, 0x7eff08c4edbe <pv_get_ruri_attr>, 0x7eff08c62608 <pv_set_ruri_user>, 0x0}, param_offset = {0, 0, 0, 0, 1}, params = {{type = SEL_PARAM_INT, v = {i = 0, s = {s = 0x0, len = 0}, p = 0x0}}, {type = SEL_PARAM_INT, v = {i = 258031632, s = {s = 0x7eff0f614010 "\001", len = 0}, p = 0x7eff0f614010}}, {type = 8108800, v = {i = 258032704, s = { s = 0x7eff0f614440 "", len = 258032704}, p = 0x7eff0f614440}}, {type = 1442987344, v = {i = 6691748, s = {s = 0x661ba4 <qm_free+6132> "H\201\304", <incomplete sequence \330>, len = 0}, p = 0x661ba4 <qm_free+6132>}}, {type = 261233544, v = {i = 258031632, s = { s = 0x160f614010 <error: Cannot access memory at address 0x160f614010>, len = 1442987176}, p = 0x160f614010}}, {type = 6676612, v = {i = 261234240, s = {s = 0x7eff0f921e40 "\b", len = 258031632}, p = 0x7eff0f921e40}}, {type = 1442987248, v = {i = 6682339, s = { s = 0x9f0065f6e3 <error: Cannot access memory at address 0x9f0065f6e3>, len = 261234584}, p = 0x9f0065f6e3}}, {type = 258031632, v = {i = 1442987280, s = {s = 0x7fff56023d10 "\260's\001", len = 6682339}, p = 0x7fff56023d10}}, {type = 258044688, v = {i = 258044688, s = {s = 0x7eff0f617310 "", len = 1442987312}, p = 0x7eff0f617310}}, {type = 6682339, v = {i = 8389724, s = {s = 0x5670080045c <error: Cannot access memory at address 0x5670080045c>, len = 8112983}, p = 0x5670080045c}}, {type = 8389724, v = {i = 128, s = { s = 0x80 <error: Cannot access memory at address 0x80>, len = 261234352}, p = 0x80}}, {type = 258031632, v = {i = 23734467, s = {s = 0x16a28c3 " + \"@", len = 0}, p = 0x16a28c3}}, {type = 8108800, v = {i = 261234584, s = {s = 0x7eff0f921f98 "(", len = 23734467}, p = 0x7eff0f921f98}}, {type = 1442987568, v = {i = 6684728, s = {s = 0x660038 <qm_malloc+2370> "H\213E\310H\203\300\070\351Y\003", len = 8388886}, p = 0x660038 <qm_malloc+2370>}}, {type = 258056000, v = {i = 1442987616, s = {s = 0x7fff56023e60 "\t", len = 6691748}, p = 0x7fff56023e60}}, {type = 7844384, v = {i = 5664136, s = {s = 0x7600566d88 <error: Cannot access memory at address 0x7600566d88>, len = 7860583}, p = 0x7600566d88}}, {type = 7844389, v = {i = 8388886, s = {s = 0x800116 "core", len = 258031632}, p = 0x800116}}, { type = 8402319, v = {i = 8389724, s = {s = 0x80045c "core: core/cfg.lex", len = 8388886}, p = 0x80045c}}, {type = 258031632, v = {i = 8402319, s = {s = 0x80358f <__FUNCTION__.7705> "addstr", len = 8389724}, p = 0x80358f <__FUNCTION__.7705>}}, {type = 128, v = { i = 258031632, s = {s = 0x7eff0f614010 "\001", len = 258031632}, p = 0x7eff0f614010}}, {type = 261234008, v = {i = 1, s = {s = 0x7eff00000001 "", len = 261234728}, p = 0x7eff00000001}}, {type = 258031632, v = {i = 261234352, s = {s = 0x7eff0f921eb0 "\200", len = 8}, p = 0x7eff0f921eb0}}, {type = 258042672, v = {i = 258042672, s = {s = 0x7eff0f616b30 "", len = 1442987648}, p = 0x7eff0f616b30}}, {type = 6682339, v = {i = 8463786, s = {s = 0xa45008125aa <error: Cannot access memory at address 0xa45008125aa>, len = 8112983}, p = 0xa45008125aa}}, {type = 261234408, v = {i = 40, s = {s = 0x400000028 <error: Cannot access memory at address 0x400000028>, len = 7783792}, p = 0x400000028}}, {type = 261234640, v = {i = 0, s = {s = 0x0, len = 1442987776}, p = 0x0}}, {type = 5313571, v = { i = 261234728, s = {s = 0x7eff0f922028 "\200", len = 261235672}, p = 0x7eff0f922028}}, {type = 1442987904, v = {i = 6684728, s = {s = 0x660038 <qm_malloc+2370> "H\213E\310H\203\300\070\351Y\003", len = 8402432}, p = 0x660038 <qm_malloc+2370>}}, {type = 23734467, v = { i = 326, s = {s = 0x146 <error: Cannot access memory at address 0x146>, len = 1442987840}, p = 0x146}}, {type = SEL_PARAM_DIV, v = {i = 3, s = {s = 0x21014500000003 <error: Cannot access memory at address 0x21014500000003>, len = 0}, p = 0x21014500000003}}, { type = 259906520, v = {i = 261227880, s = {s = 0x7eff0f920568 "\"", len = 261234640}, p = 0x7eff0f920568}}, {type = SEL_PARAM_INT, v = {i = 258384760, s = {s = 0x7eff0f66a378 "
blue.foeedc.proxy.staging.voxivo.com
", len = 0}, p = 0x7eff0f66a378}}}, n = 0}, pvs = { type = PVT_RURI_USERNAME, getf = 0x7eff08c4edbe <pv_get_ruri_attr>, setf = 0x7eff08c62608 <pv_set_ruri_user>, pvp = {pvn = {type = 0, nfree = 0x0, u = {isname = {type = 0, name = {n = 1, s = {s = 0x1 <error: Cannot access memory at address 0x1>, len = 0}, re = 0x1}}, dname = 0x0}}, pvi = {type = 0, u = {ival = 0, dval = 0x0}}}, trans = 0x0}, action = 0x7, bexpr = 0x7, re = {s = {s = 0x7 <error: Cannot access memory at address 0x7>, len = 147123646}, regex = 0x7eff08c62608 <pv_set_ruri_user>}}, bsize = 0, flags = 0, buf = ""} (gdb) (gdb) f 2 #2 0x000000000056b3a0 in rval_str_add2 (h=0x7fff558296a0, msg=0x7efefebd5fb8, l=0x7eff0f922540, c1=0x0, r=0x7eff0f922c70, c2=0x0) at core/rvalue.c:1634 1634 if ((rv2=rval_convert(h, msg, RV_STR, r, c2))==0) (gdb) f 1 #1 0x0000000000569889 in rval_convert (h=0x7fff558296a0, msg=0x7efefebd5fb8, type=RV_STR, v=0x7eff0f922c70, c=0x0) at core/rvalue.c:1308 1308 if (unlikely(rval_get_tmp_str(h, msg, &tmp, v, c, &tmp_cache) < 0)) (gdb) f 0 #0 0x0000000000568783 in rval_get_tmp_str (h=0x0, msg=0x0, tmpv=0x0, rv=0x0, cache=0x0, tmp_cache=0x0) at core/rvalue.c:1098 1098 { ``` -- 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/1263
7 years, 1 month
2
4
0
0
git:4.4:551a0d0f: core: add safety check to rval_get_tmp_str()
by Victor Seva
Module: kamailio Branch: 4.4 Commit: 551a0d0f301bfc9e9ae92614511d073b13954701 URL:
https://github.com/kamailio/kamailio/commit/551a0d0f301bfc9e9ae92614511d073…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org> Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org> Date: 2017-10-11T18:35:06+02:00 core: add safety check to rval_get_tmp_str() See #1263 (cherry picked from commit c6e921e45f1257913848110189eab82a34aa2f8b) --- Modified: rvalue.c --- Diff:
https://github.com/kamailio/kamailio/commit/551a0d0f301bfc9e9ae92614511d073…
Patch:
https://github.com/kamailio/kamailio/commit/551a0d0f301bfc9e9ae92614511d073…
--- diff --git a/rvalue.c b/rvalue.c index a38a5246ea..921b4a0516 100644 --- a/rvalue.c +++ b/rvalue.c @@ -1102,7 +1102,11 @@ int rval_get_tmp_str(struct run_act_ctx* h, struct sip_msg* msg, { avp_t* r_avp; int i; - + + if(rv==NULL) { + return -1; + } + switch(rv->type){ case RV_INT: tmpv->s=sint2strbuf(rv->v.l, tmp_cache->i2s,
7 years, 1 month
1
0
0
0
git:5.0:9e3096e1: core: add safety check to rval_get_tmp_str()
by Victor Seva
Module: kamailio Branch: 5.0 Commit: 9e3096e16ac233e1667110904e1d944753d53c7a URL:
https://github.com/kamailio/kamailio/commit/9e3096e16ac233e1667110904e1d944…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org> Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org> Date: 2017-10-11T18:31:37+02:00 core: add safety check to rval_get_tmp_str() See #1263 (cherry picked from commit c6e921e45f1257913848110189eab82a34aa2f8b) --- Modified: src/core/rvalue.c --- Diff:
https://github.com/kamailio/kamailio/commit/9e3096e16ac233e1667110904e1d944…
Patch:
https://github.com/kamailio/kamailio/commit/9e3096e16ac233e1667110904e1d944…
--- diff --git a/src/core/rvalue.c b/src/core/rvalue.c index 540f26620a..fcb238d111 100644 --- a/src/core/rvalue.c +++ b/src/core/rvalue.c @@ -1099,6 +1099,10 @@ int rval_get_tmp_str(struct run_act_ctx* h, struct sip_msg* msg, avp_t* r_avp; int i; + if(rv==NULL) { + return -1; + } + switch(rv->type){ case RV_INT: tmpv->s=sint2strbuf(rv->v.l, tmp_cache->i2s,
7 years, 1 month
1
0
0
0
git:master:bbb9c335: modules: readme files regenerated - db_postgres ... [skip ci]
by Kamailio Dev
Module: kamailio Branch: master Commit: bbb9c3353324f41e94e5b5fd9dc8020c0edfcf3d URL:
https://github.com/kamailio/kamailio/commit/bbb9c3353324f41e94e5b5fd9dc8020…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org> Committer: Kamailio Dev <kamailio.dev(a)kamailio.org> Date: 2017-10-11T18:31:26+02:00 modules: readme files regenerated - db_postgres ... [skip ci] --- Modified: src/modules/db_postgres/README --- Diff:
https://github.com/kamailio/kamailio/commit/bbb9c3353324f41e94e5b5fd9dc8020…
Patch:
https://github.com/kamailio/kamailio/commit/bbb9c3353324f41e94e5b5fd9dc8020…
--- diff --git a/src/modules/db_postgres/README b/src/modules/db_postgres/README index 7bfd597402..7640f36c18 100644 --- a/src/modules/db_postgres/README +++ b/src/modules/db_postgres/README @@ -26,6 +26,7 @@ Greg Fausak 3.1. retries (integer) 3.2. timeout (integer) 3.3. tcp_keepalive (integer) + 3.4. lockset (integer) 4. Functions @@ -34,6 +35,7 @@ Greg Fausak 1.1. Set retries parameter 1.2. Set timeout parameter 1.3. Set tcp_keepalive parameter + 1.4. Set lockset parameter Chapter 1. Admin Guide @@ -50,6 +52,7 @@ Chapter 1. Admin Guide 3.1. retries (integer) 3.2. timeout (integer) 3.3. tcp_keepalive (integer) + 3.4. lockset (integer) 4. Functions @@ -81,6 +84,7 @@ Chapter 1. Admin Guide 3.1. retries (integer) 3.2. timeout (integer) 3.3. tcp_keepalive (integer) + 3.4. lockset (integer) 3.1. retries (integer) @@ -127,6 +131,18 @@ modparam("db_postgres", "timeout", 10) modparam("db_postgres", "tcp_keepalive", 600) ... +3.4. lockset (integer) + + The value is used as power of two to compute the size of the lock set + needed to implement the equivalent of REPLACE SQL statement. + + Default value is 4 (lock set size is 16). + + Example 1.4. Set lockset parameter +... +modparam("db_postgres", "lockset", 6) +... + 4. Functions NONE
7 years, 1 month
1
0
0
0
git:master:7d27b682: db_postgres: documentation for lockset parameter
by Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 7d27b682cc6259b1f6bcd21584b9f1d5bbfc9a36 URL:
https://github.com/kamailio/kamailio/commit/7d27b682cc6259b1f6bcd21584b9f1d…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2017-10-11T18:27:50+02:00 db_postgres: documentation for lockset parameter --- Modified: src/modules/db_postgres/doc/db_postgres_admin.xml --- Diff:
https://github.com/kamailio/kamailio/commit/7d27b682cc6259b1f6bcd21584b9f1d…
Patch:
https://github.com/kamailio/kamailio/commit/7d27b682cc6259b1f6bcd21584b9f1d…
--- diff --git a/src/modules/db_postgres/doc/db_postgres_admin.xml b/src/modules/db_postgres/doc/db_postgres_admin.xml index 49bd88286f..e218294736 100644 --- a/src/modules/db_postgres/doc/db_postgres_admin.xml +++ b/src/modules/db_postgres/doc/db_postgres_admin.xml @@ -11,9 +11,9 @@ <!-- Module User's Guide --> <chapter> - + <title>&adminguide;</title> - + <section> <title>Overview</title> <para>The module is an implementation of the internal DB API v1 and v2 @@ -130,6 +130,27 @@ modparam("db_postgres", "tcp_keepalive", 600) </programlisting> </example> </section> + + <section> + <title><varname>lockset</varname> (integer)</title> + <para> + The value is used as power of two to compute the size of the + lock set needed to implement the equivalent of REPLACE SQL + statement. + </para> + <para> + Default value is 4 (lock set size is 16). + </para> + <example> + <title>Set <varname>lockset</varname> parameter</title> + <programlisting format="linespecific"> +... +modparam("db_postgres", "lockset", 6) +... +</programlisting> + </example> + </section> + </section> <section>
7 years, 1 month
1
0
0
0
← Newer
1
...
22
23
24
25
26
27
28
...
31
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Results per page:
10
25
50
100
200