[ruby-dev:50129] [Ruby trunk Bug#13579] Net::IMAP#append blocks when a NO response is received

From: shugo@...
Date: 2017-05-19 09:22:19 UTC
List: ruby-dev #50129
Issue #13579 has been reported by shugo (Shugo Maeda).

----------------------------------------
Bug #13579: Net::IMAP#append blocks when a NO response is received
https://bugs.ruby-lang.org/issues/13579

* Author: shugo (Shugo Maeda)
* Status: Assigned
* Priority: Normal
* Assignee: shugo (Shugo Maeda)
* Target version: 
* ruby -v: 
* Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
Net::IMAP#append blocks when a NO response is received.
For example, if the destination mailbox doesn't exist, Net::IMAP#append blocks:

```ruby
require "net/imap"

imap = Net::IMAP.new("localhost")
imap.login("username", "password")
imap.append("non-exist-mailbox", <<EOS, nil, nil)
From: hoge
To: hoge

hoge
EOS
imap.logout
imap.disconnect
```

This issues was originally reported by Tomita-san in ruby-list:42831.





-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next