December 10, 2005
View 3ba4048bcc

- tsend_* functions changed to obey the timeout more accurately and in all cases - unix_tx_timeout changed to milliseconds and its default value to 500 ms.

Andrei Pelinescu-Onciul authored on 10/12/2005 23:44:06
View 57857a94b6

- tm migrated to the new timers (tm timers completely re-written). - tm structures re-ordered & cleaned up for better "packing" on 64 bit machines => size reduction (~800 bytes less per transaction on a 64 bit machine) - params: - retr_timer1p1, retr_timer1p2, retr_timer1p3 removed and replaced by retr_timer1 and retr_timer2 - all timer values are now expressed in milliseconds (they were in seconds before). Affected params: fr_timer, fr_inv_timer, wt_timer, delete_timer, retr_timer1, retr_timer2 - retr_timer1 (first retransmission) changed to 500 ms - delete_timer changed to 200 ms - functions: - new t_set_fr(timeout_fr_inv, timeout_fr) -- allows changing the transaction timer from script, even if the transaction was already created (see tm docs for more). - fr_inv_timer/fr_timer can be changed now without any performance penalty - more precise retransmissions timing - overall improved tm speed an memory footprint (e.g. on a 64 bit 2*Xeon 2.8Ghz + HT, optimized ser, NO_DEBUG => ~ 6370 cps new version, ~6000 cps old version + rel_0_9_0 tm inser_timer fix; memory usage @ 6000cps: 490Mb new version, 616Mb old version). - NEWS updated

Andrei Pelinescu-Onciul authored on 10/12/2005 16:04:53
December 5, 2005
View af93cbdf37

New timer interface: - allows adding timers dynamically - supports one shot and periodic timers - precise - allows timeouts < 0.5 s (depends on the config., by default min. timeout = 62.5 ms) - based on a 3 level hierarchical timing wheel - very fast - low overhead for timer functions (most of the time, the excetion is timer_del which take can take quite a long time in special situations) - supports "slow" timers (compile option, by default on), "slow" timer = a timer handler which is declared as possible taking a long timer to execute. - backward compatible: old timer functions are preserverd => no changes needed for the existing code (although migration to the new interface is recommended) For more information read doc/timers.txt. tm timer update will follow shortly (this week).

Andrei Pelinescu-Onciul authored on 05/12/2005 18:29:30
View a86d53b012

- rls excluded from the compile by default list (depends on external libs) - added DEBUG(), ERR(), WARN(), INFO(), BUG() which can be used instead of LOG(L_*, ). The new macros will add "DEBUG:", "ERROR:" a.s.o in front of the message and also the filename and line number from where they were called ( DEBUG("x") in foo.c:23 is equiv. with DBG("DEBUG: foo.c:23: x"))

Andrei Pelinescu-Onciul authored on 05/12/2005 17:01:08
November 17, 2005
View a73806997d

o Include <sys/types.h> before any other <sys/foo> and network-related headers;

Maxim Sobolev authored on 17/11/2005 01:24:03
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 16, 2005
View efa97d66cb

- set HAVE_TIMEGM only on linux, *bsd and darwin (not on solaris)

Andrei Pelinescu-Onciul authored on 16/11/2005 21:56:21
View 646aef6d3c

- fixed parse error for if (cond) a(); else b(); - fixed dbg. config dumping

Andrei Pelinescu-Onciul authored on 16/11/2005 21:37:20
November 15, 2005
View fbb0c4df7d


Jan Janak authored on 15/11/2005 15:31:42
November 2, 2005
View d0da70f3c9

- another distcc related fix: ger proper version even if distcc has some numeric arguments

Andrei Pelinescu-Onciul authored on 02/11/2005 20:37:10
View 3fb732f38e

- distcc fix backported from stable

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

- fixed tls on same port as tcp init problem (e.g. for -l - 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
September 12, 2005
View a31a6e8cdd

- -mallign-double removed (incompatible with kqueue on netbst and with epoll on linux 2.6.* => it has big problem causing potential for almost no benefit) - sigio_rt mostly cosmetic changes

Andrei Pelinescu-Onciul authored on 12/09/2005 17:08:07
September 9, 2005
View 8d7f99dd0f

- tcp sigio_rt workarround for undocumented event 0x08 (which seems to be set on some errors, like receiving a RST)

Andrei Pelinescu-Onciul authored on 09/09/2005 23:32:34