Project

General

Profile

Actions

Bug #10031

closed

Net::IMAP idle can still block a thread forever.

Added by chilon (James Pike) almost 10 years ago. Updated over 8 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux]
[ruby-core:63693]

Description

When calling Net::IMAP idle often errors will go unnoticed forever, simply leaving the Thread that called "idle" blocking forever.

For example try bringing your internet connection down whilst a thread is calling the idle method, the calling thread will now be blocked forever.

I've encountered this issue also without losing my internet connection, sometimes the remote server will disconnect the client and the client will never notice leading to the same issue.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0