September 19, 2006
View 37209e1421

- applied patch from Dragos Vingarzan <> which moves all the forking part into 2 functions in pt.c (fork_process and fork_tcp_process). - added PROC_NOCHLDINIT rank value for Dragos's fork_process (if this value is used as child_id/rank_value the mod_child functions will not be called) - added register_procs(processes_no), used from mod_init when a module knows that it will fork some children (replaces the old process_count++ / the patch's estimated_process_count++) - added get_max_procs(): returns the maximum (estimated) number of processes

Andrei Pelinescu-Onciul authored on 19/09/2006 16:13:27
September 15, 2006
View dcb59e67b4

- dns cache support (ser will cache both positive and negative responses if turned on, see doc/dns.txt for more details & config options) - dns failover support: when a name resolves to more then 1 ip (either multiple A or AAAA records or multiple SRVs) and sending to the first ip fails, ser will retry with the others. By default is off. See doc/dns.txt for more details/config options a.s.o. - destination blacklist: when sending to some destination (defined by ip:port and protocol) fails, ser will temporarily add this destination in a blacklist giving future sends the opportunity of immediately failing. Destination are also added to the blacklist on tm invite timeouts (when no response is received in the fr_timer interval). By default is off, see doc/dst_blacklist.txt form more details/config options. - small makefile fixes (in mode=debug) - resolver get_record api changes (updated enum)

Andrei Pelinescu-Onciul authored on 15/09/2006 10:37:44
February 24, 2006
View dab2c42000

- fixed test of rpc->scan return value

Jan Janak authored on 24/02/2006 12:24:53
February 21, 2006
View 6be3b3f794

- system_methodHelp sends now an error reply if the command was not found (previously it wouldn't send any reply at all)

Andrei Pelinescu-Onciul authored on 21/02/2006 21:02:18
February 17, 2006
View a74b76d852

- core_uptime returns the uptime as an int (previosuly it used a float) If someone is really concerned that his ser uptime will wrap arround after 136 years I might be persuaded to change it back :-)

Andrei Pelinescu-Onciul authored on 17/02/2006 17:03:49
February 16, 2006
View 8abbb5e408

- system.methodHelp works now also for core methods (btw: why this ugly mixed case names?)

Andrei Pelinescu-Onciul authored on 16/02/2006 23:40:19
February 10, 2006
View e85eac0ab5

- removed some exported information: inactive_connection and number of requests (it was bogus anyway)

Andrei Pelinescu-Onciul authored on 10/02/2006 18:21:51
February 6, 2006
View d95154053d

- fixed some tcp connections accounting bugs - tcp info available via fifo/rpc

Andrei Pelinescu-Onciul authored on 06/02/2006 16:47:31
January 10, 2006
View 566cde2d47

- core.shmmem command added

Tomas Mandys authored on 10/01/2006 15:41:33
December 20, 2005
View e46483c885

- changed the meaning of rpc_scan* functions, they return the number of parameters found, in case of an error they return the number of parameters successfuly converted as negative number

Jan Janak authored on 20/12/2005 11:32:22
December 15, 2005
View 9644e1cab6

- removed unused variables

Jan Janak authored on 15/12/2005 23:31:03
View 1abf9a2de4

- core rpc commands

Jan Janak authored on 15/12/2005 23:16:57
December 13, 2005
View 55a4526901

- Modules can properly register processes in SER process table - process_count function has been replaced by process_count variable - modules can increase the value of process_count in mod_init, this will be used to allocate process table that will be big enough - modules can create processes in child_init with rank PROC_MAIN - the index into process table is in last_process, this is where information about the new process should be recorded - do not forget to reset is_main in the new process otherwise it will not be terminated properly - modules should increate last_process before fork - the new child should set process_no = last_process

Jan Janak authored on 13/12/2005 12:10:15
View eb08a49522

- user2uid and group2gid moved to ut.c - typo fixed in core_cmd.c

Jan Janak authored on 13/12/2005 01:12:22
December 12, 2005
View 58c1870cd7

- core commands reimplemented

Jan Janak authored on 12/12/2005 23:41:30