November 4, 2006
View 5b84defdc6

- safer child exit on signal (s/exit()/_exit())

Andrei Pelinescu-Onciul authored on 04/11/2006 01:31:06
October 25, 2006
View f2e1aa5002

- init_childs(PROC_MAIN) moved before starting tcp_main to allow possible tcp usage from module started processes - fork_process() sanity checks & debugging: fail & log a bug if called with make_sock==1 from a process != main or if called after tcp was started; reset is_main for children - fork_tcp_process() sanity checks as above - init_pt(): initialize tcp comm. fds to -1, fix description writing for main/attendant.

Andrei Pelinescu-Onciul authored on 25/10/2006 18:44:36
View 96d091075b

- log messages in children signal handlers off if NO_SIG_DEBUG is defined (safer, but not default for now) - new config param.: exit_timeout (how much time ser will wait for its shutdown to complete, when it expires it will kill everything) - missing timeout added to SIGTERM triggered shutdown

Andrei Pelinescu-Onciul authored on 25/10/2006 16:44:21
October 13, 2006
View 96227c65df

- added STUN keep-alive functionality in accordance with draft-ietf-behave-rfc3489bis-04.txt

Vladimir Marek authored on 13/10/2006 13:08:42
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