January 10, 2008
View 6e154d5d93

- EPOLLET doesn't need checking for previous IO events (this also fixes io_watch_chg possible invocation of handle_io which would lead to ugly problems inside tcp handle_tcpconn_ev)

Andrei Pelinescu-Onciul authored on 10/01/2008 15:16:34
December 21, 2007
View 316130a735

- fixes: - on io_watch_add overwrite error don't delete the previous fd hash entry + more error debugging info - return proper len on pending connect (instead of -1) - tcp_reader: always check if a connection was marked as bad and if so release it immediately + error checks for io_watch_*

Andrei Pelinescu-Onciul authored on 21/12/2007 23:27:13
December 13, 2007
View a43212de4c

- io_watch_chg fix for EPOLL_ET: handle possible pre-existing IO events

Andrei Pelinescu-Onciul authored on 13/12/2007 18:05:39
December 11, 2007
View 503bc281c1

- io_wait fixes: - use the correct flags fo sigio_rt's sigio_band - call handle_io for POLLERR & POLLHUP even if not specified among the watched events - tcp: - handle POLLERR & POLLHUP (same way as POLLIN)

Andrei Pelinescu-Onciul authored on 11/12/2007 18:19:58
December 5, 2007
View 8880cb3471

fixes to compile on Mac OS X

Nils Ohlmeier authored on 05/12/2007 23:13:03
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 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 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 20, 2006
View 7d95baf3c9

- fixed some of the warnings - fixed typo in db_ops/db_ops.c - eval module excluded from the compiled-by-default-list (bec. it doesn't compile yet)

Andrei Pelinescu-Onciul authored on 20/09/2006 17:15:34
May 30, 2006
View 19db15d72d

- sigio 64 bits bug workarround enabled for linux kernels <2.6.5.

Andrei Pelinescu-Onciul authored on 30/05/2006 20:40:23
View bc5be3498c

- added route_lookup (like route_get(), but doesn't create a new route if not found) -- patch from Miklos Tirpak <miklos@iptel.org>

Andrei Pelinescu-Onciul authored on 30/05/2006 19:20:51
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
View c742b6a4f3

- gcc 2.95 fixes - udp_flood updated to work also for tcp (for stress testing the ser tcp part)

Andrei Pelinescu-Onciul authored on 09/09/2005 14:29:48
July 11, 2005
View 0054114a20

- linux 2.4 compilation fix from Stefan Sayer

Andrei Pelinescu-Onciul authored on 11/07/2005 13:47:33