November 29, 2007
View a0553f4e1e

- io_wait support for write - io_wait: added io_watch_chg(..) - updated tcp code to the io_wait api changes

Andrei Pelinescu-Onciul authored on 29/11/2007 21:01:45
November 28, 2007
View 20c64cc651

- advanced tcp options support: - support for defering tcp accepts until some data is received (linux & freebsd), default off. See NEWS: tcp_defer_accept. - support for delaying the final ACK from the 3-way handshake until some data is sent (the ACK will come with the 1st data segment). Default on when supported (linux only). See NEWS: tcp_delayed_ack. - support for limiting the number of retransmitted SYNs (linux only, see NEW: tcp_syncnt) - support for limiting the lifetime of orphaned sockets in FIN_WAIT2 (linux only, see NEWS: tcp_linger2) - keepalive support, see NEWS: tcp_keepalive (default on), tcp_keepidle, tcp_keepintvl and tcp_keepcnt

Andrei Pelinescu-Onciul authored on 28/11/2007 19:20:47
View 00f45c4966

- fix: don't extend the timeout on tcp_send() if the connection is handled by a tcp_reader process

Andrei Pelinescu-Onciul authored on 28/11/2007 13:39:55
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
November 22, 2007
View 5702d44833

- io_wait.h: when calling handle_io() in a loop (e.g. io_watch_add() & SIGIO_RT or EPOLL_ET or io_wait_loop_* and repeat mode) always check & stop if the fd was removed inside the handle_io() call

Andrei Pelinescu-Onciul authored on 22/11/2007 19:32:35
September 7, 2007
View f0302ef754

- fix recently introduced bug

Andrei Pelinescu-Onciul authored on 07/09/2007 14:39:07
September 5, 2007
View 22f062587d

- tcp add alias policy changes (experimental): now new aliases are added even if matching aliases for different connections exists. Until now an existing alias pointing to some other connection would trigger an error, the reason being that someone could try to "steal" a connection. However this turned out to affect also normal usage, like UAs behind nats that change the ip, or rebooted UAs (that didn't have a chance to close the tcp connection).

Andrei Pelinescu-Onciul authored on 05/09/2007 17:20:35
August 27, 2007
View 2aa5c1f7d7

- split init_sock_opt into init_sock_opt, called for new sockets (e.g. on connect) and init_sock_opt_accept() called only for sockets created as a result of an accept and which inherit the options from the "parent" listening socket (which the O_NONBLOCK exception for which no behaviour is specified and which is seems to be inherithed on BSDs and solaris, but not on linux). - init_sock_opt sets also SO_REUSEADDR

Andrei Pelinescu-Onciul authored on 27/08/2007 21:48:56
August 23, 2007
View a6357e2582

- detect INADDR_ANY ( or ::) listen addresses - basic tcp support for INADDR_ANY

Andrei Pelinescu-Onciul authored on 23/08/2007 20:43:58
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
July 25, 2007
View 205fcb02c0

- tcpconn_connect takes a new optional param.: the address to bind the new socket on - tcpconn_new takes a new param: the local socket address - tcp_use_source_ipv[46] cleanup - MAX_TCP_CON_LIFETIME fix

Andrei Pelinescu-Onciul authored on 25/07/2007 19:40:32
July 4, 2007
View 3e99928136

- added register_fds(no), used to register the maximum numbers of fds opened by a module (on a per process basis). Needed for code that needs to know the maximum possible open fd number (like the tcp code). - added get_max_open_fds()

Andrei Pelinescu-Onciul authored on 04/07/2007 17:27:33
May 30, 2007
View 761bd3097e

Add two new config variables to set source IP on outbound TCP connections. As Jan stated this is useful for HA setups with virtual IPs.

Hendrik Scholz authored on 30/05/2007 12:48:24
February 20, 2007
View 895cb2af9e

- make tar doesn't exclude tls*, but instead tls/* - don't append -tls to the version number unless CORE_TLS is used (there's enough information in the flags to see if support for the tls modules is enabled)

Andrei Pelinescu-Onciul authored on 20/02/2007 19:41:14