October 2, 2006
View 144c394f42

- fork_process & fork_tcp_process fixes - reverted to the old fork()-in-parallel behaviour (uncomment FORK_DONT_WAIT for the "serial" fork()).

Andrei Pelinescu-Onciul authored on 02/10/2006 17:29:23
September 28, 2006
View 9ca82d2758

- reverted to the old behaviour for the transaction timeout reply: now 408 is returned always; before 480 was returned on invite timeout after a provisional reply. - added new script functions: t_branch_timeout() and t_branch_replied(), which can be used to distinguish between a 408 received from the network (if (!t_branch_timeout() && t_check_status("408")) ... ), a local transaction timeout w/o any reply being received (if (t_branch_timeout() && ! t_branch_replied()) ...) and a local timeout after some provsional reply ( if (t_branch_timeout() && t_branch_replied()) ...) - even more script functions: - t_any_timeout() -- true if any of the transaction branches did timeout - t_any_replied() -- true if at least one branch received a reply (when used from an on_reply route it will ignore the "current" reply) - t_is_canceled() -- true if the current transaction has been canceled (for more info see NEWS or tm docs)

Andrei Pelinescu-Onciul authored on 28/09/2006 21:10:43
September 20, 2006
View 4fd7c9fd90

- added ser profiling patch from Hendrik Scholz <hendrik.scholz@freenet-ag.de>, adapted to the new fork functions (for more info see http://lists.iptel.org/pipermail/serdev/2006-July/007627.html)

Andrei Pelinescu-Onciul authored on 20/09/2006 10:28: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 aaed15a3a8

- cancel relayed from failure route deadlock fix ported from stable (e2e_cancel uses now t_reply_unsafe when called from the failure_route)

Andrei Pelinescu-Onciul authored on 15/09/2006 16:04:51
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
July 19, 2006
View 7d5fb64f12

- unused defines removed - one duplicate removed

Jan Janak authored on 19/07/2006 16:49:51
July 13, 2006
View 2edb7ef83a

- reduced dns structure sizes and re-ordered them to waste less space - possible memory leak fixed (could appear only when resolving srv or naptr records and the dns response packet is corrupted)

Andrei Pelinescu-Onciul authored on 13/07/2006 18:30:02
June 5, 2006
View 17bae7f176

MADDR support (check-in not to forget about)

Michal Matyska authored on 05/06/2006 10:37:27
May 30, 2006
View 19db15d72d

- sigio 64 bits bug workarround enabled for linux kernels <2.6.5.

Andrei Pelinescu-Onciul authored on 30/05/2006 20:40:23
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
April 21, 2006
View 7a068ff3c5

- more struct dest_info conversions (via_builder, tm: build_uac_req, assemble_via a.s.o) - basic support for comp=method (where mehtod=sigcomp|sergz) parsing (via, various uris) and adding (via, rr lumps). The code is compiled only if USE_COMP is defined. NOTE: for now the code is useless (no compression code yet and no compression hooks), so by default it's not compiled.

Andrei Pelinescu-Onciul authored on 21/04/2006 14:28:36
April 18, 2006
View 2f0f1a30df

- more dest_info conversions: - forward_request takes now a dest_info parameter - various something2dst conversions functions - got rid of the temprary mk_proxy when forwarding after the uri - updated all the affected modules

Andrei Pelinescu-Onciul authored on 18/04/2006 19:56:48
April 12, 2006
View e6a2b12e54

- msg_send(), udp_send() and tcp_send() parameter list changed (now they use a struct dest_info to pack several of the old params)

Andrei Pelinescu-Onciul authored on 12/04/2006 18:04:23
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