/[resiprocate]/main/resip/dum/InMemoryRegistrationDatabase.cxx
ViewVC logotype

Log of /main/resip/dum/InMemoryRegistrationDatabase.cxx

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 9600 - (view) (download) (annotate) - [select for diffs]
Modified Wed Apr 25 21:13:52 2012 UTC (7 years, 6 months ago) by dpocock
File length: 7908 byte(s)
Diff to previous 8754
resip/dum: workarounds for libCstd on Solaris (not accepting object as predicate for remove_if)

Revision 8754 - (view) (download) (annotate) - [select for diffs]
Modified Wed Feb 24 17:56:42 2010 UTC (9 years, 8 months ago) by sgodin
File length: 7645 byte(s)
Diff to previous 8403
Added ability for repro to synchronize registrations with another instance
-uses two new repro command line options:  xmlrpcport and regsyncpeer
-added a new version of InMemoryRegistrationDatabase called InMemorySyncRegDb. 
 This version has the following new capabilities
 - callback handler so that a reg sync process can get notification of when records change
 - ability to linger removed contacts in memory, so that sync process can accurately reflect
   registration removals on peer system
 - initial sync mechanism for registration sync process
-removed two inefficient (double copy) interfaces on RegistrationPersistanceManager and
 adjusted InMemoryRegistrationDatabase as required
-fixed some registration storage locking bugs in repro
-added new RegSyncClient, RegSyncServer, RegSyncServerThread, XmlRpcConnection and 
 XmlRpcServerBase classes to facilitate transport of registration information in xml 
 format from one node to another 



Revision 8403 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jan 27 20:44:41 2009 UTC (10 years, 9 months ago) by sgodin
File length: 7884 byte(s)
Diff to previous 7539
-repro fix for removing expired contacts - could cause repro web admin to show expired contacts
 with very large expiry times
-optimized some calls to get system time in repro


Revision 7539 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jan 18 22:08:13 2008 UTC (11 years, 9 months ago) by sgodin
File length: 7883 byte(s)
Diff to previous 7538
-fixed some bugs with latest outbound changes
 - Webadmin GUI / Registrations page was not showing information correctly
    - deleting a contact from WebAdmin was not working
 - Made use of Registration Expirey time in ContactInstanceRecord consistent 
  (was using a mix of seconds and ms before)
- Modified instances of Timer::getTimeMs()/1000 to be Timer::getTimeSecs()
 

Revision 7538 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jan 18 15:51:02 2008 UTC (11 years, 9 months ago) by sgodin
File length: 7847 byte(s)
Diff to previous 7463
-fixed some VS compiler warnings
-added svn properties eol-style=native and mime-type=text/plain to OutboundTargetHandler

Revision 7463 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 27 23:16:08 2007 UTC (11 years, 11 months ago) by bcampen
File length: 7839 byte(s)
Diff to previous 6563
Merge work from b-Outbound (proxy/registrar outbound support). Includes Path
support. No client support for either of these.


Revision 6563 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 12 10:33:42 2006 UTC (13 years, 2 months ago) by dpocock
File length: 8535 byte(s)
Diff to previous 6558
ctime required for compiling on some platforms


Revision 6558 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 8 10:23:24 2006 UTC (13 years, 2 months ago) by dpocock
File length: 8517 byte(s)
Diff to previous 6435
Add option for checking expiry in values returned from 
InMemoryRegistrationDatabase


Revision 6435 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 27 20:20:48 2006 UTC (13 years, 3 months ago) by bcampen
File length: 7756 byte(s)
Diff to previous 6431
Fix for q-values of 0

Revision 6431 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 27 18:35:37 2006 UTC (13 years, 3 months ago) by bcampen
File length: 7688 byte(s)
Diff to previous 5948
Getting updated q-value on registrations to work properly. Work on keeping cid parameter from showing up in Contacts or Request-Uri on the wire.

Revision 5948 - (view) (download) (annotate) - [select for diffs]
Modified Fri Feb 17 15:30:16 2006 UTC (13 years, 8 months ago) by dworley
File length: 7108 byte(s)
Diff to previous 5929
Setting more svn: properties, and adding EOLs to the ends of files
that need it.


Revision 5929 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 16 22:36:43 2006 UTC (13 years, 8 months ago) by dworley
File length: 7108 byte(s)
Diff to previous 5876
Start cleaning up svn:eol-style and EOLs in files.
Note that text and program files that can be used on both Un*x and Windows
should have svn:eol-style=native so they check out correctly on both
platforms.


Revision 5876 - (view) (download) (annotate) - [select for diffs]
Modified Fri Feb 10 21:06:47 2006 UTC (13 years, 9 months ago) by bcampen
File length: 7108 byte(s)
Diff to previous 5682
Merge of b-bwc-ProcessorReorg into main at revision 5875. (New Processor architecture for repro, and nifty new stuff like q-value processing.))

Revision 5682 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 18 20:38:42 2005 UTC (13 years, 11 months ago) by sgodin
File length: 6810 byte(s)
Diff to previous 5295
- fixed shutdown memory leak in InMemoryRegistrationDatabase.cxx
- fixed memory leak in ServerAuthManager.cxx for messages containing Proxy Auth headers

Revision 5295 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 22 00:30:05 2005 UTC (14 years, 2 months ago) by jason
File length: 6653 byte(s)
Copied from: branches/b-directory-reorg/resip/dum/InMemoryRegistrationDatabase.cxx revision 5294
Diff to previous 5276
merged 5270:HEAD from b-directory-reorg

Revision 5276 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 19 00:23:17 2005 UTC (14 years, 2 months ago) by jason
Original Path: branches/b-directory-reorg/resip/dum/InMemoryRegistrationDatabase.cxx
File length: 6653 byte(s)
Diff to previous 5273
compiles now

Revision 5273 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 18 23:50:54 2005 UTC (14 years, 2 months ago) by jason
Original Path: branches/b-directory-reorg/resip/dum/InMemoryRegistrationDatabase.cxx
File length: 6677 byte(s)
Diff to previous 5272
initial reorg - more to come

Revision 5272 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 18 23:49:50 2005 UTC (14 years, 2 months ago) by jason
Original Path: branches/b-directory-reorg/resip/resiprocate/dum/InMemoryRegistrationDatabase.cxx
File length: 6677 byte(s)
Diff to previous 5271
initial reorg - more to come

Revision 5271 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 18 23:43:07 2005 UTC (14 years, 2 months ago) by jason
Original Path: branches/b-directory-reorg/sip/resiprocate/dum/InMemoryRegistrationDatabase.cxx
File length: 6677 byte(s)
Diff to previous 5162
new directory reorg proposal

Revision 5162 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 27 03:15:16 2005 UTC (14 years, 3 months ago) by jason
Original Path: main/sip/resiprocate/dum/InMemoryRegistrationDatabase.cxx
File length: 6677 byte(s)
Diff to previous 5159
removed some extra debug


Revision 5159 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 27 02:55:59 2005 UTC (14 years, 3 months ago) by jason
Original Path: main/sip/resiprocate/dum/InMemoryRegistrationDatabase.cxx
File length: 6673 byte(s)
Diff to previous 4599
fix problems with cleanup















Revision 4599 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 11 23:10:19 2005 UTC (14 years, 6 months ago) by derek
Original Path: main/sip/resiprocate/dum/InMemoryRegistrationDatabase.cxx
File length: 6360 byte(s)
Diff to previous 4391
set svn:eol-style to LF

Revision 4391 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 18 20:11:50 2005 UTC (14 years, 6 months ago) by sgodin
Original Path: main/sip/resiprocate/dum/InMemoryRegistrationDatabase.cxx
File length: 6360 byte(s)
Diff to previous 4335
added WinLeakCheck to some files

Revision 4335 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 12 21:40:15 2005 UTC (14 years, 7 months ago) by jason
Original Path: main/sip/resiprocate/dum/InMemoryRegistrationDatabase.cxx
File length: 6317 byte(s)
Diff to previous 4114
merged changes from b-dev-repro from rev 4155:4334
used cmd: svn merge -r 4155:4334 https://scm.sipfoundry.org/rep/ resiprocate/branches/b-dev-repro-20050401


Revision 4114 - (view) (download) (annotate) - [select for diffs]
Modified Fri Apr 1 18:42:43 2005 UTC (14 years, 7 months ago) by adam
Original Path: main/sip/resiprocate/dum/InMemoryRegistrationDatabase.cxx
File length: 6034 byte(s)
Diff to previous 4010
Added thread locking stuff.


Revision 4010 - (view) (download) (annotate) - [select for diffs]
Modified Sat Mar 19 03:54:17 2005 UTC (14 years, 7 months ago) by jason
Original Path: main/sip/resiprocate/dum/InMemoryRegistrationDatabase.cxx
File length: 4820 byte(s)
Diff to previous 3926
merged changes from b-teltel-20041118-invitesession 3484:HEAD into the trunk



Revision 3926 - (view) (download) (annotate) - [select for diffs]
Modified Mon Feb 28 21:57:28 2005 UTC (14 years, 8 months ago) by adam
Original Path: main/sip/resiprocate/dum/InMemoryRegistrationDatabase.cxx
File length: 2447 byte(s)
Diff to previous 3923
Added locking so that the PersistenceManager objects can be accessed
from other threads.


Revision 3923 - (view) (download) (annotate) - [select for diffs]
Added Mon Feb 28 06:43:42 2005 UTC (14 years, 8 months ago) by adam
Original Path: main/sip/resiprocate/dum/InMemoryRegistrationDatabase.cxx
File length: 2245 byte(s)
Code complete for very simple server-side handling of
REGISTER requests. This code has not yet been tested
in any way except to verify that it compiles, so
caveat implementor.

I think I got all this largely correct and consistent
with the rest of the DUM (although it's a bit unclear
what was intended with the registration persistence
class, so I had to kind of make up an API there; I think
it should be very easy to derive an object from what
I currently have for storage to disk, storage to
a relational database, and/or sharing with a mated
pair over a message bus). For testing purposes, I added
a rudimentary persistence class (InMemoryRegistrationDatabase)
that doesn't actually persist data anywhere but the heap.

Also, it's really unclear to me who is responsible
for cleaning up the BaseUsage/NonDialogUsage objects
in general (and the ServerRegistration objects in
particular), so there may be a memory leak in this
at the moment. Once I figure out how these objects
are managed, I'll verify that the ServerRegistration
objects get cleaned up properly, and fix it if
they dont.

Finally, the current interface to the Persistence
manager is a bit rudimentary: it only handles the
URI and expires values. Discarding the display name
portion of contact headers is hardly a problem,
and not keeping around unknown parameters is unlikely
to ever cause issues; however, this code really should
remember q= values. This oversight should be relatively
easy to fix if it becomes important to anyone. In
fact, I'll probably address it myself at some point
in the near future, but my goal for this weekend is
to get something that works, not something that is
100% perfect.


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27