Project

General

Profile

Actions

Bug #15318

closed

net/imap socket backward compatibility broken in ruby 2.5+

Added by karis10 (bug reporter) over 5 years ago. Updated over 5 years ago.

Status:
Rejected
Target version:
-
[ruby-core:89856]

Description

Hi,
I use net/pop and net/imap libraries and sometimes I need my pop/imap connections to be socksified or proxified (through TCPSocket initialize method modifications: https://github.com/Shopify/socksify-ruby). Upgrading to ruby 2.5.3 from 2.4.4 I've found that TCPSocket interface was changed in favor of raw sockets by this patch: https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/58549/diff/lib/net/imap.rb the reason was this issue: https://bugs.ruby-lang.org/issues/13379

And after migrating from 2.4.4 to 2.5.3 and a bit of debugging I've found that standard library behavior was internally silently broken. In 2.5.3 net/pop library still can be normally proxified, but not net/imap.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0