Changed output handler to work a bit differently to avoid useless io_remove/io_add calls.
Changed output handler to work a bit differently to avoid useless
io_remove/io_add calls.

--HG--
branch : HEAD

jkerihuel/dovecot,dscho/dovecot,jwm/dovecot-notmuch,dscho/dovecot,jwm/dovecot-notmuch,jwm/dovecot-notmuch,dscho/dovecot,jkerihuel/dovecot,dscho/dovecot,jkerihuel/dovecot,jwm/dovecot-notmuch,dscho/dovecot,jkerihuel/dovecot,jkerihuel/dovecot,jwm/dovecot-notmuch