May 20, 2003
View 56b80d500e

- icc warning fixes (caught also some bugs like unsigned < 0)

Andrei Pelinescu-Onciul authored on 20/05/2003 17:30:39
April 16, 2003
View 1f2c924e85

- core warning fixes for 64 bits archs - added include netinet/in_systm.h in tcp_*, udp_* (needed for IP_TOS on non linux systems) - now when using gcc 3.x/x86 ser is optimized for athlon, but "normal" i386 instructions are used. All this is overwritable from the environment or command line: CPU=athlon-mp make , or to also generate athlon instructions: CPU=athlon-mp CC_EXTRA_OPTS=-march=athlon-mp make

Andrei Pelinescu-Onciul authored on 16/04/2003 16:17:09
April 14, 2003
View 4290c43fcc

- EINTR handled for tcp write (andrei)

Andrei Pelinescu-Onciul authored on 14/04/2003 20:26:27
View 39546e5f4b

- set socket options to TOS low delay - REUSEADDR is now on by default for tcp

Andrei Pelinescu-Onciul authored on 14/04/2003 19:27:57
April 11, 2003
View f2e456c301

- mode=debug => -DEXTRA_DEBUG - a lot of the tcp debugging messages are displayed now only if EXTRA_DEBUG is defined - parse_uri sets now ser_error - forward(uri:host,...) will use the protocol in the uri

Andrei Pelinescu-Onciul authored on 11/04/2003 16:58:29
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