[prev in list] [next in list] [prev in thread] [next in thread]
List: openser-devel
Subject: [Devel] CVS commitlog: sip-server/modules/registrar save.c
From: bogdan () voice-system ! ro (Bogdan-Andrei Iancu)
Date: 2006-02-24 18:16:19
Message-ID: E1FCgYG-0003vQ-2F () sc8-pr-cvs1 ! sourceforge ! net
[Download RAW message or body]
User: bogdan_iancu
Date: 2006/02/24 09:16:20 PST
OpenSER CVS - Commit Details
Modified files: (Branch: rel_1_0_0)
modules/registrar save.c
Commit Log:
Backport:
- fixed bug when insertion contacts in a new built AOR record - use
get_ucontact() to detect contact duplicates.
An initial REGISTER may contain several contacts and some of them may be
identical. IF DB is used, this will lead to primary key (username, domain,
contact URI) violation due double insert. Also un-necessary parallel fork
to same destination is avoided.
This may happen with bogus clients (I see no reason why a UAC may duplicate
a contact in same REGISTER), so the fix is protection mechanism for the
proxy.
Revision Changes Path
1.5.2.1 +18 -8 sip-server/modules/registrar/save.c
[ http://cvs.sourceforge.net/viewcvs.py/openser/sip-server/modules/registrar/save.c?r1=1.5&r2=1.5.2.1 \
]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic