Project

General

Profile

Feature #13379 » 0001-ssl_socket_connect-for-imap.patch

ahorek (Pavel Rosický), 03/29/2017 08:23 PM

View differences:

lib/net/imap.rb
200 200
  #    Goldsmith, D. and Davis, M., "UTF-7: A Mail-Safe Transformation Format of
201 201
  #    Unicode", RFC 2152, May 1997.
202 202
  #
203
  class IMAP
203
  class IMAP < Protocol
204 204
    include MonitorMixin
205 205
    if defined?(OpenSSL::SSL)
206 206
      include OpenSSL
......
1523 1523
      end
1524 1524
      @sock = SSLSocket.new(@sock, context)
1525 1525
      @sock.sync_close = true
1526
      @sock.connect
1526
      ssl_socket_connect(@sock, @open_timeout)
1527 1527
      if context.verify_mode != VERIFY_NONE
1528 1528
        @sock.post_connection_check(@host)
1529 1529
      end
1530
-