]> git.g-eek.se Git - interimap.git/commit
Don't use readline with non-blocking IO.
authorGuilhem Moulin <guilhem@fripost.org>
Sat, 25 Jul 2015 23:36:48 +0000 (01:36 +0200)
committerGuilhem Moulin <guilhem@fripost.org>
Sat, 25 Jul 2015 23:46:00 +0000 (01:46 +0200)
commit1c78a883849c5ffc4e2fbd84dc912dec18486759
treef027562a610330711372c2c2f4b61dcd96ba5489
parent71cddb9e85ae0ea2468c64687319677e6bc9746a
Don't use readline with non-blocking IO.

Instead use the select(2) syscall to see if there data available while
we're waiting for notifications.
Except for SSL/TLS connections, where we have to check if there is
unprocessed cached data in the current SSL frame.
lib/Net/IMAP/Sync.pm