Eyescale/Equalizer — pull request #48 by dardok (2011-10-31 14:44:40+00:00)
Title: Notify application properly of disconnect event.

Closing an event fd does not wake up poll/select/etc - need to set
a disconnected flag and write an extra "signal" so the application
will wake up and attempt a read. Reads must then check that the
available byte(s) are indeed valid and error out if not.

[ ] May break build
[ ] May break existing applications (see CHANGES.txt)
[x] Bugfix
[ ] New Feature
[ ] Cleanup
[ ] Optimization
[ ] Documentation