Module: sip-router
Branch: jh/mtree
Commit: 7bab7bfcbe51089d3db3d9b611c96f5d8ae78c05
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=7bab7bf…
Author: Juha Heinanen <jh(a)tutpro.com>
Committer: Juha Heinanen <jh(a)tutpro.com>
Date: Sun Aug 28 19:45:09 2011 +0300
lib/srdb1/schema/mtrees.xml: increased version number due to index change
---
lib/srdb1/schema/mtrees.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/srdb1/schema/mtrees.xml b/lib/srdb1/schema/mtrees.xml
index 6913766..eb3f1ab 100644
--- a/lib/srdb1/schema/mtrees.xml
+++ b/lib/srdb1/schema/mtrees.xml
@@ -9,7 +9,7 @@
<table id="mtrees" xmlns:db="http://docbook.org/ns/docbook">
<name>mtrees</name>
- <version>1</version>
+ <version>2</version>
<type db="mysql">&MYSQL_TABLE_TYPE;</type>
<description>
<db:para>This table is used by the mtree module to load values in shared memory trees at start up. More information about the mtree module can be found at: &KAMAILIO_MOD_DOC;mtree.html
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#122 - Kamailio 3.1.3 crash
User who did this - Timo Reimann (tr)
----------
@Jasmin: Over the last couple of days, I added a few patches to the dialog module. One of them improves dlg_manage() to deal with spiral detection properly. The code is part of the master and latest 3.1 branches.
@Marius: Is the "quick and dirty" fix to the initial problem part of upstream now so that we can close this bug?
If not, you may want to consider renaming the report's topic to something more meaningful that mirrors the real cause of the problem (which you had analyzed quite thoroughly here).
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=122#comment253
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task is now closed:
FS#143 - DLGCB_CONFIRMED triggered on 200/OK, not ACK
User who did this - Timo Reimann (tr)
Reason for closing: Fixed
Additional comments about closing: Fixed in commit 934adcfb9, to be shipped in SIP Router 3.2.
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=143
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
Module: sip-router
Branch: 3.1
Commit: 18881421102eaac97c85d84cbbd1597c3f342d23
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1888142…
Author: Marius Zbihlei <marius.zbihlei(a)1and1.ro>
Committer: Timo Reimann <timo.reimann(a)1und1.de>
Date: Wed Aug 17 15:00:00 2011 +0300
modules_k/dialog When hash_size was smaller then 1, consider this as a value(1 == 2^0)
The 1<<(n-1) check for the power of two smaller than the given number doesn't work for n == 0 (undefined behavior),
so values of dlg_hash_size smaller than 1 where not checked correctly.
(cherry picked from commit 11033b05be673593a87afdc2a1d8a2c887fb9ab7)
---
modules_k/dialog/dialog.c | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/modules_k/dialog/dialog.c b/modules_k/dialog/dialog.c
index 2c63d87..38a30b5 100644
--- a/modules_k/dialog/dialog.c
+++ b/modules_k/dialog/dialog.c
@@ -559,11 +559,18 @@ static int mod_init(void)
return -1;
}
+ /* sanitize dlg_hash_zie */
+ if (dlg_hash_size < 1){
+ LM_WARN("hash_size is smaller "
+ "then 1 -> rounding from %d to 1\n",
+ dlg_hash_size);
+ dlg_hash_size = 1;
+ }
/* initialized the hash table */
for( n=0 ; n<(8*sizeof(n)) ; n++) {
if (dlg_hash_size==(1<<n))
break;
- if (dlg_hash_size<(1<<n)) {
+ if (n && dlg_hash_size<(1<<n)) {
LM_WARN("hash_size is not a power "
"of 2 as it should be -> rounding from %d to %d\n",
dlg_hash_size, 1<<(n-1));
Module: sip-router
Branch: master
Commit: 99db13c459888a2a7e8ac4af0fc7642541ba5ccb
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=99db13c…
Author: Timo Reimann <timo.reimann(a)1und1.de>
Committer: Timo Reimann <timo.reimann(a)1und1.de>
Date: Sat Aug 27 02:41:51 2011 +0200
modules_k/dialog: Remove old parameter "del" from interface
description.
---
modules_k/dialog/dlg_hash.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/modules_k/dialog/dlg_hash.c b/modules_k/dialog/dlg_hash.c
index 0aee562..35e5bc1 100644
--- a/modules_k/dialog/dlg_hash.c
+++ b/modules_k/dialog/dlg_hash.c
@@ -472,7 +472,6 @@ not_found:
* \param ftag from tag
* \param ttag to tag
* \param dir direction
- * \param del will set to 1 if dialog is deleted
* \return dialog structure on success, NULL on failure
*/
static inline struct dlg_cell* internal_get_dlg(unsigned int h_entry,