April 6, 2003
View cb87691afc

- child init called in all ser processes (main, timer, fifo, tcp_main, udp_children, tcp_children, tcp_main) - defined macros PROC_MAIN, PROC_TIMER, PROC_FIFO, PROC_TCP_MAIN - they substitute rank for special processes - listening children have rank 1 and higher

Jan Janak authored on 06/04/2003 20:28:12
View 6eacb2bc95

- fixed port byte order bugs introduced last night - updated modules to use the new byte ordering (now all the ports are kept in host byte order, previously some structures used network byte order and in other host byte order)

Andrei Pelinescu-Onciul authored on 06/04/2003 14:05:35
View 4c4e112f78

- timer will use first ipv4/ipv6 socket for sending and not the first interface (which can be a loopback) - rport related src_port fixes (all ports are now kept in host byte order)

Andrei Pelinescu-Onciul authored on 06/04/2003 00:21:13
March 31, 2003
View f15bede127

- removed msg->repl_add_rm (msg->add_rm is used now both for replies & requests) - tcp code now always tries to add bind address info even for temporary "sending" sockets (it tries to find first match in the listening sockets list) - new lump function: insert_subst_lump_after, insert_subst_lump_before (you can add now lumps that will be substituted with the rcv/sending ip addr, port or proto: see SUBST_{SND,RCV}_{IP,PORT,PROTO})

Andrei Pelinescu-Onciul authored on 31/03/2003 19:51:10
View 7ec958f3ac

- removed snmp relicts from core (main.c) - init_child is now called also for tcp receivers - tcp: bind_address is properly set to the correct address family or 0 if not init. (now bind_address will point to the first tcp ${AF} listen address -- to fix someday)

Andrei Pelinescu-Onciul authored on 31/03/2003 12:28:09
March 29, 2003
View e6509c231e

SO_REUSEADDR before calling bind to allow server restart, Nagle set on the (hopefuly) correct socket

Jiri Kuthan authored on 29/03/2003 20:16:12
March 10, 2003
View 6419a43f9f

- sun cc compile fixes (all the files not mentioned explicitly) - fixed a bug in build_res_buf_with_body_from_sip_req (bad len computations when via was not crlf terminated, e.g only lf) - Makefile.def: sun cc modules compilations options updated (it seems tm uses too many symbols for the default small memory model) - lock_ops.h: lock set support added also for PTHREAD_MUTEX & POSIX_SEM - route.c: updated to the new module exports format - sr_module.[hc]: changed module exports interface: added struct cmd_export and param_export, updated find_export, find_export_param, find_module

Andrei Pelinescu-Onciul authored on 10/03/2003 22:24:14
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 6c6659cb1a

- solaris fixes - ser + tcp compiles now on solaris (on solaris the msghdr structure is "old style") => introduced a new define: HAVE_MSGHDR_MSG_CONTROL

Andrei Pelinescu-Onciul authored on 20/02/2003 19:50:31
View 0bd532974f

- s/lock_t/gen_lock_t/ to avoid a type conflict on solaris

Andrei Pelinescu-Onciul authored on 20/02/2003 18:30:15
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 534092baac

- more tcp error checking

Andrei Pelinescu-Onciul authored on 29/01/2003 16:14:13
January 28, 2003
View 7825b469e5

- even more tcp fixes

Andrei Pelinescu-Onciul authored on 28/01/2003 19:35:03
View e29d027ba2

- tcp bugfixes

Andrei Pelinescu-Onciul authored on 28/01/2003 16:46:44