May 30, 2007
View 761bd3097e

Add two new config variables to set source IP on outbound TCP connections. As Jan stated this is useful for HA setups with virtual IPs.

Hendrik Scholz authored on 30/05/2007 12:48:24
View a0a27c73e3

t_relay_cancel() is added to the sample configuration

Miklos Tirpak authored on 30/05/2007 12:28:17
View 90c49480d0

documentation is updated with t_relay_cancel(), reparse_invite, and ac_extra_hdrs

Miklos Tirpak authored on 30/05/2007 11:19:01
May 29, 2007
View e67d950955

- transactions are now deleted when their reference counter reaches 0 (this removes the need for the delete timer hack and some extra locking and it should reduce memory usage in very busy situations). For now it's still possible to revert to the old behaviour by removing the TM_DEL_UNREF define in h_table.h.

Andrei Pelinescu-Onciul authored on 29/05/2007 23:59:34
View 349eb296e6

- fixed usage of unalloc. mem.

Andrei Pelinescu-Onciul authored on 29/05/2007 21:26:20
View 4f4aff3483

- fixed usage of unalloc. mem.

Andrei Pelinescu-Onciul authored on 29/05/2007 21:25:53
View 344c31a9ea

CANCELs and negative ACKs are constructed from the INVITE which was sent out instead of building them from the received one. The disadvantage is that the outgoing INVITE has to be partially reparsed, the advantage is that the CANCEL/ACK is always RFC-compliant, it always contains the same route-set as the INVITE message. (closes SER-212)

Miklos Tirpak authored on 29/05/2007 15:52:37
View 91791c591b

- added membar_depends() for run_callbacks and unmatched_totag - callbacks ids are no longer set: nobody uses them and when doing a lockeless insert they cause extra expensive writes

Andrei Pelinescu-Onciul authored on 29/05/2007 13:44:19
View ebc5ec7bd8

- added membar_depends(), needed on smp archs. with separate cache banks where it's possible to get a new pointer value, but the old pointer content (e.g. if the two are in different cache banks and the "content" bank is very busy processing a long invalidations queue). For now only Alpha SMP needs it, on all other archs is a no-op (for more info see atomic_ops.h , http://lse.sourceforge.net/locking/wmbdd.html, http://www.linuxjournal.com/article/8212 or Alpha Architecture Reference Manual Chapter 5.6.

Andrei Pelinescu-Onciul authored on 29/05/2007 11:31:29
View 66298eb439

- more callback fixes (TMCB_E2E_CANCEL_IN never called after the latest changes) - some minor optimizations attempts (predict all the callback branches/ifs as not taken since in the normal case we don't have any callbacks)

Andrei Pelinescu-Onciul authored on 29/05/2007 09:36:51
May 28, 2007
View f1f3be671a

cosmetical changes in presence handbook

Vaclav Kubart authored on 28/05/2007 11:33:01
May 26, 2007
View 17cde66541

- darwin sigwait() bug workaround: on darwin sigwait is buggy: it will cause extreme slow down on signal delivery for the signals it doesn't wait on (I've measured a 36s delay on a 1.5Ghz powerbook). The workaround is: sigwait() on all the signals we are interested in ser and manually call the master signal handler (sig_usr(sig_no)) if the signal!= slow timer signal.

Andrei Pelinescu-Onciul authored on 26/05/2007 11:12:29
View f233d28135

- changed darwin module link flags (instead of -bundle_loader ser -flat_namespace -undefined suppress) -- in this way the build module dependecy on ser is removed

Andrei Pelinescu-Onciul authored on 26/05/2007 10:55:39
May 25, 2007
View 6776abcd5a

- fixed TMCB_E2ECANCEL_IN wrong value - fixed wrong buffer length in some TMCB_RESPONSE_SENT callback calls - switched TMCB_E2ECANCEL to path the cancel transaction as param. and not the invite one (bugs reported by Gergely Kovacs <gergo@iptel.org>)

Andrei Pelinescu-Onciul authored on 25/05/2007 16:15:11
View 08067fd56f

- more darwin build with libs fixes (works now) - sercmd is no longer force-rebuilt every time

Andrei Pelinescu-Onciul authored on 25/05/2007 15:50:11