September 19, 2004
View dd0e65a8bc

- SYSV lock fixes: fixed includes, added seteuid before lock init and restore it afterwards (so that SYSV sems get created with the proper uid in case -u uid is used) - moved shm_mem initialization after the config is parsed (so that ser will know if it's supposed to suid and use the seteuid hack above in the SYSV locks case) - fixed ser shutdown procedure on main_loop error (proper cleanup) - the fifo file is now deleted on exit - added version.h and changed module version control to check also the compile flags - usrloc: fixed missing lock_destroy - usrloc: fixed DB capability check even if no db mode

Andrei Pelinescu-Onciul authored on 19/09/2004 20:22:51
August 24, 2004
View 53c7e0f19a

- Spelling checked - READMEs updated

Jan Janak authored on 24/08/2004 08:45:09
October 24, 2003
View 49b28ea4a2

- find_mod_export added (The function can find an export in a specified module).

Jan Janak authored on 24/10/2003 21:03:14
August 20, 2003
View 627b66ef1e

- textops subst_uri added (like subst but works on uris)

Andrei Pelinescu-Onciul authored on 20/08/2003 18:21:12
June 29, 2003
View bae7e88407

exit on version mismatch

Jiri Kuthan authored on 29/06/2003 20:19:35
April 27, 2003
View 2dcb8b679b

module version checking introduced

Jiri Kuthan authored on 27/04/2003 18:17:23
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
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 20, 2003
View 270255ff76

- regular expression support in modparam

Jan Janak authored on 20/03/2003 15:40:06
March 19, 2003
View 51c3861158

- additional parameter to find_export - find_export updated to honor flags parameter - REPLY_ROUTE defined

Jan Janak authored on 19/03/2003 23:46:09
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
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
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
December 14, 2002
View e8df4b1196

exec module refurbished: now, all exec actions pass header fields, URIs, source IP in environment variables for easier script programming

Jiri Kuthan authored on 14/12/2002 22:09:23
November 15, 2002
View 9243edb917

module initialization changed to have the same order as load_module commands (delimited by NO_REVERSE_INIT define)

Jiri Kuthan authored on 15/11/2002 22:54:34