April 12, 2006
View e6a2b12e54

- msg_send(), udp_send() and tcp_send() parameter list changed (now they use a struct dest_info to pack several of the old params)

Andrei Pelinescu-Onciul authored on 12/04/2006 18:04:23
February 24, 2006
View 8f0e1af302

- tcp accounting: connections_no decreased on error - parse_uri: missing break for r2 - tm: enabled tm stats

Andrei Pelinescu-Onciul authored on 24/02/2006 18:35:35
February 22, 2006
View bf458eea46

- tcp_send fix: return <0 on send error. This is a modified version of Klaus Darilion patch/openser port (extra tcpconn_put on release error)

Andrei Pelinescu-Onciul authored on 22/02/2006 12:45:24
February 10, 2006
View e85eac0ab5

- removed some exported information: inactive_connection and number of requests (it was bogus anyway)

Andrei Pelinescu-Onciul authored on 10/02/2006 18:21:51
February 6, 2006
View d95154053d

- fixed some tcp connections accounting bugs - tcp info available via fifo/rpc

Andrei Pelinescu-Onciul authored on 06/02/2006 16:47:31
February 3, 2006
View 746f7674ae

- tcp children number is not anymore limited (was limited to 100) - tcp connection are passed to the tcp reader processes after some data is received on them and not immediately after accept(). This speeds up accepting lots of new connections. Old behaviour can be select by undef-ing TCP_PASS_NEW_CONNECTION_ON_DATA in tcp_main.c - lots of cleanups and small fixes - tsend_stream now support waiting forever (timeout==-1)

Andrei Pelinescu-Onciul authored on 03/02/2006 21:56:23
View 282605098c

- tcp children control fds are now non-blocking - send fd queue is used when a childs queue is full

Andrei Pelinescu-Onciul authored on 03/02/2006 16:15:18
View 1ce28841fb

- tcp connection timeouts are checked at most one time per second - ticks comparisons are uint overflow safe

Andrei Pelinescu-Onciul authored on 03/02/2006 15:34:57
January 30, 2006
View 98f3d5e2b9

- high connection number deadlock fix (tested with 50k open tcp connections) - experimental queue send fd ops code WARNING: lightly tested

Andrei Pelinescu-Onciul authored on 30/01/2006 19:24:30
January 27, 2006
View 3167c7448b

- child_rank variable introduced to make parameter value to init_child more predictable (needed especially in no fork mode)

Jan Janak authored on 27/01/2006 09:52:58
December 13, 2005
View 55a4526901

- Modules can properly register processes in SER process table - process_count function has been replaced by process_count variable - modules can increase the value of process_count in mod_init, this will be used to allocate process table that will be big enough - modules can create processes in child_init with rank PROC_MAIN - the index into process table is in last_process, this is where information about the new process should be recorded - do not forget to reset is_main in the new process otherwise it will not be terminated properly - modules should increate last_process before fork - the new child should set process_no = last_process

Jan Janak authored on 13/12/2005 12:10:15
November 17, 2005
View 7564dcaba5

- fixed F_CONN_REMOVED flag reset to 0 - struct tcp_connection re-arrangement + sign/unsigned fixes

Andrei Pelinescu-Onciul authored on 17/11/2005 01:22:03
November 2, 2005
View fe09f3158f

- ip TOS can now be set from ser cfg (thanks to Andreas Granig)

Andrei Pelinescu-Onciul authored on 02/11/2005 18:14:12
October 28, 2005
View 06c04bc2b1

- fixed tls on same port as tcp init problem (e.g. for -l 127.0.0.1:5080) - added a new tcp connection flag, set when the tcp connection is removed from the main pool - fixed tcp_read_req reported bytes count (necessary for certain types of poll stategies)

Andrei Pelinescu-Onciul authored on 28/10/2005 20:59:37
October 21, 2005
View d4652e3337

- having a read event on an already referenced tcp_conn is not a bug (it could be referenced by a sender)

Andrei Pelinescu-Onciul authored on 21/10/2005 13:38:32