March 29, 2003
View 3c8bd369e6

fifo, script callbacks and timer release pkg mem from cleanup; note that it affects only the main process

Jiri Kuthan authored on 29/03/2003 02:30:35
March 27, 2003
View d31fcdf0e9

- moved malloc_init at the begining of main (Nils suggestion)

Andrei Pelinescu-Onciul authored on 27/03/2003 13:26:06
March 19, 2003
View e3dccdc952

- replaced all mallocs/frees w/ pkg_malloc/pkg_free - minor lock_dealloc warning fixes

Andrei Pelinescu-Onciul authored on 19/03/2003 18:41:58
February 25, 2003
View b33736bc90

- if DISABLE_NAGLE is defined (by default it is) the Nagle algoritm will be turend off => lower tcp delays

Andrei Pelinescu-Onciul authored on 25/02/2003 16:58:57
February 20, 2003
View b988daef50

- compile fixes: ser & tm + tcp compiles on linux, freebsd, openbsd & netbsd

Andrei Pelinescu-Onciul authored on 20/02/2003 18:13:22
February 7, 2003
View ab130758c9

- more tcp stuff and a lot of merging w/ latest cvs - content-length is appended automatically to messages that cross from udp to tcp - tcp2udp and udp2tcp now work under heavy stress (e.g.: throttle 200, 10 ser processes on dual cpu) - tcp performance still sucks, some things like disabling Nagle are still not in yet (for better debugging)

Andrei Pelinescu-Onciul authored on 07/02/2003 17:02:15
January 29, 2003
View 049f64c292

scratchpad removed, textops changed to skip the first line

Jiri Kuthan authored on 29/01/2003 19:24:10
View de38488ef8

- more fixes (transport stuff)

Andrei Pelinescu-Onciul authored on 29/01/2003 18:12:18
January 23, 2003
View 2d4b798ec2

determination of outbound interace introduced (get_out_socket)

Jiri Kuthan authored on 23/01/2003 12:27:50
January 20, 2003
View 8aeb47e2ed

- more tcp stuff (uses locking.h, hashtables, mostly untested) - main exit cleanups (created cleanup(show_status() function that should prepare ser for exiting: dellocate everything, free sems a.s.o).

Andrei Pelinescu-Onciul authored on 20/01/2003 18:35:09
View 0bf716b854

bug_fix: checking of return value of snprintf aligned to C99

Jiri Kuthan authored on 20/01/2003 01:18:50
January 16, 2003
View e01354880c

- new locking used in shm_mem - some compile fixes in tm/lock.* (w/ sys v sems) Notes: on linux use only FAST_LOCK or USE_SYSV_SEM (pthread & posix sems do not work)

Andrei Pelinescu-Onciul authored on 16/01/2003 19:22:09
January 5, 2003
View c082a4372f

SIGPIPE is ignored now; under some unclear circumstances, use of exec raised the signal, which then terminated ser; I'm not aware of any SIGPIPE customers, so it should be ok

Jiri Kuthan authored on 05/01/2003 23:28:55
December 12, 2002
View f2f969dda6

- changed sip_msg (new rcv member containing all the ips, ports, protocol) - added a "proto" parameter to forward_request, via_builder, get_send_sock etc. - added 2 new script commands: forward_udp & forward_tcp - lots of tcp bloat - changed parse_via to recognize TCP - more functions added to ip_addr.h (cmp for ips & sockaddrs etc.)

Andrei Pelinescu-Onciul authored on 12/12/2002 21:46:37
December 11, 2002
View 0c5da34bd1

- increased ROUTE_MAX_REC_LEV to 100 - added new route commad: send_tcp(address, port) - tcp global vars (added new members to pt a.s.o) - tcp_send(buf, len, server, 0) will try to find an existing open tcp connection to "server"; if none found a new one will be opened (ser will also start listening on it for sip messages) - first udp to tcp & tcp to tcp send (not forward, I still have to solve some tricky via stuff)

Andrei Pelinescu-Onciul authored on 11/12/2002 21:30:44