September 19, 2006
View 37209e1421

- applied patch from Dragos Vingarzan <vingarzan@fokus.fraunhofer.de> 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
May 15, 2006
View bc404f2b4a

- OS macro defined in Makefile.defs left unquoted and added OS_QUOTED. OS macro maybe used by 3rd party header in regular way, w/o quotes

Tomas Mandys authored on 15/05/2006 09:56:40
May 11, 2006
View 02f6229626

- added creator_pid variable to enable get pid of ser main process that terminates when daemonizing.

Tomas Mandys authored on 11/05/2006 11:29:31
April 7, 2006
View 58d0d1b5b6

- separate memdbg log level which controls the memory/malloc related debug messages (to see them ser must be compiled with malloc debuging: -DDBG_QM_MALLOC or -DDBG_FM_MALLOC and memdbg must be <= debug ). By default is set to L_DBG. E.g.: setting memdbg=100 in ser.cfg will make sure that you'll never see a malloc debug message. Note: memdbg is different from memlog, memlog is the log level used for malloc statistics (printed on exit or on SIGUSR1).

Andrei Pelinescu-Onciul authored on 07/04/2006 14:55:27
March 30, 2006
View d307929c08

- makefile: - compile in 64bit mode by default on sparc64 - sparc <= v8 support - -CC_GCC_LIKE_ASM is defined when the compiler supports gcc style inline asm (gcc and icc)

Andrei Pelinescu-Onciul authored on 30/03/2006 19:56:06
February 24, 2006
View 90d859b2c6

- solaris fixes

Andrei Pelinescu-Onciul authored on 24/02/2006 19:16:53
February 7, 2006
View 93349b4eca

- named routes support in core and tm (t_on_*). e.g.: route{ route(bar); t_on_reply("reply_route"); route(1); # == route("1") ... } route[foo]{ ... } route["bar"]{ ... } route[1]{ ... } onreply_route[reply_route]{ ... }

Andrei Pelinescu-Onciul authored on 07/02/2006 01:14:57
February 2, 2006
View 65938e0e15

- more generic hash functions - named flags support: the flags can now have names Example: flags a, b:6, test_flag; # b is set to the 6 flag, the rest are # allocated automatically route{ setflag(test_flag); ... }

Andrei Pelinescu-Onciul authored on 02/02/2006 19:29:21
January 27, 2006
View 3167c7448b

- child_rank variable introduced to make parameter value to init_child more predictable (needed especially in no fork mode)

Jan Janak authored on 27/01/2006 09:52:58
January 10, 2006
View b017f49ce0

- command line options have higher priority than configuration script (-m -f ,etc.) - -h options recognized even in "-f -h" construction

Tomas Mandys authored on 10/01/2006 00:28:05
December 21, 2005
View 539283cdd7

- removed implementation of fifo and unixsocket servers from core (it will be implemented in modules instead)

Jan Janak authored on 21/12/2005 17:27:21
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 5, 2005
View af93cbdf37

New timer interface: - allows adding timers dynamically - supports one shot and periodic timers - precise - allows timeouts < 0.5 s (depends on the config., by default min. timeout = 62.5 ms) - based on a 3 level hierarchical timing wheel - very fast - low overhead for timer functions (most of the time, the excetion is timer_del which take can take quite a long time in special situations) - supports "slow" timers (compile option, by default on), "slow" timer = a timer handler which is declared as possible taking a long timer to execute. - backward compatible: old timer functions are preserverd => no changes needed for the existing code (although migration to the new interface is recommended) For more information read doc/timers.txt. tm timer update will follow shortly (this week).

Andrei Pelinescu-Onciul authored on 05/12/2005 18:29:30