event: do not poll unless IOCHAN flag is set
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 14 Aug 2014 09:28:22 +0000 (09:28 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 14 Aug 2014 09:28:22 +0000 (09:28 +0000)
commita01504754a0c0be56029cf3edd169f9ceb7f0023
tree3bb3be1810389cc1c08d42f9cb7ac1cb461a9661
parent531f84c7a10c4d3e270a768284c15fa2f5ff81b7
event: do not poll unless IOCHAN flag is set

The connection handler goes not expect "except" bits unless it
asks for it. Fixes infinite looping that sometimes happened when
connections were closed.
src/eventl.c