On Thu, Sep 15, 2016 at 07:18:52AM +0200, Alex Hultman wrote: > io_callback(events) { > if (messages_to_send && (events & OS_WRITABLE)) { > SSL_write(.....); > if (error) { > if (error_is_want_read) { > system_poll &= OS_READABLE; > } else if (error_is_want_write) { > system_poll &= OS_WRITABLE; > } For what it's worth, you probably meant "|=" not "&=". -- Viktor.