October 16, 2006
View 3ed13e7767

- tm: aggregate challenges (WWW/Proxy-Authenticate) from all the 401 & 407 if the final reply is a 401/407 (required by rfc3261). To turn this off and fall back to the old behaviour set tm aggregate_challenges parameter to 0 (see tm docs for more details) - core: header parse support for WWW-Authenticate and Proxy-Authenticate

Andrei Pelinescu-Onciul authored on 16/10/2006 18:44:01
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
October 12, 2006
View 9d8edd2980

- dns failover when a 503 reply is received (if the dns name resolves to more ips/srvs try the next one) - if the final reply is a relayed 503 replace it with a 500 (generate a "fake" 500). If the 503 is locally generated, let it pass. - tm_rpc_stats: removed duplicate "waiting" stats

Andrei Pelinescu-Onciul authored on 12/10/2006 19:15:33
October 11, 2006
View 81f72c6ca1

- stop creating new branches (forking)if a 6xx or a CANCEL was received - cancel branch fix: if a branch was canceled stop possible dns failover forking on it - stop retransmission timer fix for cancel for non-invites

Andrei Pelinescu-Onciul authored on 11/10/2006 17:45:50
October 10, 2006
View 65e998d19c

- tm 6xx fixes: when a 6xx is received send a CANCEL on all the branches for which a provisional response was received and then wait for the branches to finish (timeout, 487 from the CANCEL or another final response which "raced" the CANCEL). Branches that did not receive any response (in fact any response >=100) will be "terminated" immediately (fake 487). - tm which_cancel() 0-the cancel bitmap fix - tm which_cancel(), should_cancel(), cancel_branch() enhancements/changes - tm rpc_cancel fixes (it works now)

Andrei Pelinescu-Onciul authored on 10/10/2006 19:21:59
October 6, 2006
View b0cfdf5fa6

- tm better final reply selection: 6xx is preferred over other negative replies; from several 4xx prefer 401, 407, 415, 420, 484 (in this order). For all the other cases, return the lowest code (as before).

Andrei Pelinescu-Onciul authored on 06/10/2006 11:32:41
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