March 6, 2009
View efc23dce50

tcp: diff. connect timeout for async & states cleanup

Andrei Pelinescu-Onciul authored on 06/03/2009 16:54:10
March 5, 2009
View 76cb799e3b

tcp: async mode on by default

Andrei Pelinescu-Onciul authored on 05/03/2009 17:21:11
View 3dc4f620d8

tcp: use dynamic config framework, part 2

Andrei Pelinescu-Onciul authored on 05/03/2009 17:20:42
May 21, 2008
View 92c0024c20

- tcp: more flags (no fixes, preparations for next set of changes)

Andrei Pelinescu-Onciul authored on 21/05/2008 10:16:46
April 24, 2008
View c7337a2747

added CRLF ping/pong keepalives aka SIP outbound

Alfred E. Heggestad authored on 24/04/2008 13:51:26
February 20, 2008
View fc665070a0

- tcp flags cleanup (preparation for bigger tls related changes)

Andrei Pelinescu-Onciul authored on 20/02/2008 14:37:29
February 5, 2008
View 7498b4dc09

- avoid extra read syscalls (detect short reads) in poll_et or sigio_rt case (should improve performace) - if POLLRDHUP or EPOLLRDHUP are supported (linux >= 2.6.17) use them and avoid an extra syscall on EOF - on write error try to see if there's still some data in the socket read buffer and try to process it first (if there's no more data do a quick connection destroy)

Andrei Pelinescu-Onciul authored on 05/02/2008 21:47:29
December 21, 2007
View d22b82a07e

- tcp: support for pending connects: add a connection immediately to the connection hash (before even attempting the connect sys call) and just queue possible writes. When the connection completes update the connection info & aliases and send the queued data. This avoids parallel connects when the intial connect takes too long (highly experimental, on by default)

Andrei Pelinescu-Onciul authored on 21/12/2007 17:58:07
December 14, 2007
View 19782e1c0b

- tcp: - try to close connections faster even if still referenced - changed refcnt usage (on 0 refcnt free, experimental)

Andrei Pelinescu-Onciul authored on 14/12/2007 01:40:12
December 12, 2007
View 20863813dc

- tcp: close connection immediately if the write buf. timeouts (timeout fixes) + some cleanups

Andrei Pelinescu-Onciul authored on 12/12/2007 19:11:25
December 4, 2007
View 885b9f62e1

- tcp support for queueing writes: if some data cannot be written immediately on the socket (socket buffers full or still connecting), the data will be queued and written at a latter time (max. queue size per socket is controlled by tcp_conn_wq_max, timeout by tcp_send_timeout and total queued bytes / max. mem. used by tcp_wq_max). By default disabled (experimental), to enable it use tcp_buf_write=yes in ser.cfg. To compile without queueing support use -DNO_TCP_BUF_WRITE.

Andrei Pelinescu-Onciul authored on 04/12/2007 20:25:29
November 27, 2007
View 5c5cd7369d

- for tcp read processes, reuse the read fd for sending - keep a tcp send fd cache (experimental) (performance improvement)

Andrei Pelinescu-Onciul authored on 27/11/2007 21:05:32
View ccb7fda23b

- switched to much better tcp timers (performance increase especially with tesn of thousands of active tcp connections)

Andrei Pelinescu-Onciul authored on 27/11/2007 07:23:27
August 1, 2007
View a288ee348d

- support for setting the source address in tcp_send() and tcpconn_get() (should allow for a better tcp force_send_socket() in the future) - add multiple aliases for each connection, to cover all the search possiblities: (dst_ip, dst_port), (local_ip, dst_ip, dst_port), (local_ip, local_port, dst_ip, dst_port). - improved connection hash function

Andrei Pelinescu-Onciul authored on 01/08/2007 00:05:40
February 1, 2007
View ef9e3860f1

- ticks_t move in timer_ticks.h - tcpconn_get() exported (tls needs it)

Andrei Pelinescu-Onciul authored on 01/02/2007 04:34:32