ioset event handling fixups
authorMichael Poole <mdpoole@troilus.org>
Sat, 23 Sep 2006 01:14:35 +0000 (01:14 +0000)
committerMichael Poole <mdpoole@troilus.org>
Sat, 23 Sep 2006 01:14:35 +0000 (01:14 +0000)
commit63475a05ca6845efaccb893afc2104f01406d31a
treebe0ace948a7cc57e755cffb76b7f534e5858baf4
parent26988d56bb8b56fc7918ef2a63b06b4a2da6047a
ioset event handling fixups

src/ioset.c (ioset_connect): Properly handle the situation if the connect
    handler closes the fd.
  (ioset_accept): Rename "old_active_fd" to "old_active" for consistency.
  (ioset_buffered_read): Make sure we bail if the fd is closed.
  (ioset_events): Handle 'readable' on a connecting fd as an error.
git-archimport-id: srvx@srvx.net--2006/srvx--devo--1.3--patch-49
ChangeLog
src/ioset.c