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 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 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
August 22, 2007
View 5015222069

dns_get_server_state() implemented which returns the state of the DNS servers

Miklos Tirpak authored on 22/08/2007 15:10:13
July 31, 2007
View 021e7e0e54

- dst blacklist and DNS cache measurements added

Gergely Kovacs authored on 31/07/2007 13:26:05
July 26, 2007
View dfcbd08b0c

New RPC commands to manipulate the destination blacklist:

Miklos Tirpak authored on 26/07/2007 11:42:53
View ba813ed5ac

New RPC commands which manipulate the content of the DNS cache:

Miklos Tirpak authored on 26/07/2007 11:32:01
View f682fd712c

DNS watchdog support implementation: a SER module or an external application can inform the core that the DNS servers are down. No DNS query is performed in this case, and even expired entries are used from the cache. Use dns_set_server_state() function from modules or the dns.set_server_state RPC command to set the sate of the DNS servers.

Miklos Tirpak authored on 26/07/2007 11:18:34
June 12, 2007
View 61551c02fb

- more mem info: used and real_used (real_used includes the malloc overheads) - extensive debuggin command for sf_malloc and ll_malloc: core.sfmalloc (enabled only if ser compiled with -DLL_MALLOC or -DSF_MALLOC).

Andrei Pelinescu-Onciul authored on 12/06/2007 18:21:42
June 7, 2007
View 71a0a583d1

- new script config vars: mlock_pages, shm_force_alloc, real_time, rt_prio, rt_policy, rt_timer1_prio, rt_timer1_policy, rt_timer2_prio, rt_timer2_policy (for more info see NEWS)

Andrei Pelinescu-Onciul authored on 07/06/2007 21:44:00
September 19, 2006
View 37209e1421

- applied patch from Dragos Vingarzan <vingarzan@fokus.fraunhofer.de> which moves all the forking part into 2 functions in pt.c (fork_process and fork_tcp_process). - added PROC_NOCHLDINIT rank value for Dragos's fork_process (if this value is used as child_id/rank_value the mod_child functions will not be called) - added register_procs(processes_no), used from mod_init when a module knows that it will fork some children (replaces the old process_count++ / the patch's estimated_process_count++) - added get_max_procs(): returns the maximum (estimated) number of processes

Andrei Pelinescu-Onciul authored on 19/09/2006 16:13:27
September 15, 2006
View dcb59e67b4

- dns cache support (ser will cache both positive and negative responses if turned on, see doc/dns.txt for more details & config options) - dns failover support: when a name resolves to more then 1 ip (either multiple A or AAAA records or multiple SRVs) and sending to the first ip fails, ser will retry with the others. By default is off. See doc/dns.txt for more details/config options a.s.o. - destination blacklist: when sending to some destination (defined by ip:port and protocol) fails, ser will temporarily add this destination in a blacklist giving future sends the opportunity of immediately failing. Destination are also added to the blacklist on tm invite timeouts (when no response is received in the fr_timer interval). By default is off, see doc/dst_blacklist.txt form more details/config options. - small makefile fixes (in mode=debug) - resolver get_record api changes (updated enum)

Andrei Pelinescu-Onciul authored on 15/09/2006 10:37:44
February 24, 2006
View dab2c42000

- fixed test of rpc->scan return value

Jan Janak authored on 24/02/2006 12:24:53
February 21, 2006
View 6be3b3f794

- system_methodHelp sends now an error reply if the command was not found (previously it wouldn't send any reply at all)

Andrei Pelinescu-Onciul authored on 21/02/2006 21:02:18
February 17, 2006
View a74b76d852

- core_uptime returns the uptime as an int (previosuly it used a float) If someone is really concerned that his ser uptime will wrap arround after 136 years I might be persuaded to change it back :-)

Andrei Pelinescu-Onciul authored on 17/02/2006 17:03:49