January 8, 2008
View 057063e685

- tcp: fix local timer intialization (proper prev_ticks init.)

Andrei Pelinescu-Onciul authored on 08/01/2008 13:11:30
December 28, 2007
View 55cdf20a2e

- tcp alias replace improvement/fix - more debugging fixes

Andrei Pelinescu-Onciul authored on 28/12/2007 20:43:32
View 23dc5abf7a

- tcp fix: flags changed & membars() before derefs, more sanity checks and alias debugging

Andrei Pelinescu-Onciul authored on 28/12/2007 10:06:23
December 22, 2007
View 36ac6749be

- fix: signed/unsigned comparisons (tcp_send)

Andrei Pelinescu-Onciul authored on 22/12/2007 18:13:29
View 5b892e3eee

- fix: partial writes were not taken into account

Andrei Pelinescu-Onciul authored on 22/12/2007 17:49:03
View b4fa727e63

- fix: tcp fd cache: don't cache own fd in a tcp_reader - various cleanups/better error messages

Andrei Pelinescu-Onciul authored on 22/12/2007 08:11:14
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
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 db237b38b3

- tcp: - try to destroy a conenction on error asap, even if it's referenced (in this case destroy it partially - close fds a.s.o) - changed refcnt usage

Andrei Pelinescu-Onciul authored on 14/12/2007 01:50:39
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 11, 2007
View 8b0472d783

- local_timer cleanup (always use local_timer*, don't mix them with timer_*) - tcp fix: clear the write watch flag after empting the write buffers

Andrei Pelinescu-Onciul authored on 11/12/2007 20:11:01
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 6, 2007
View a0b4a4b929

- freebsd accept filter fix (it works now)

Andrei Pelinescu-Onciul authored on 06/12/2007 12:14:47
View 62d2baec8f

- freebsd compile fixes (use struct __res_state* instead of res_state + some typos)

Andrei Pelinescu-Onciul authored on 06/12/2007 00:07:56