On ubuntu kernel poll is not waking up on POLLOUT if we did not write to the client first. Probably it ignores the event since the fd was writable when we called. On the real implementation we always try sending first before before calling poll with POLLOUT.
Signed-off-by: Andreas Fenkart andreas.fenkart@digitalstrom.com