Feature #13379 » 0001-ssl_socket_connect-for-imap.patch
| lib/net/imap.rb | ||
|---|---|---|
| # Goldsmith, D. and Davis, M., "UTF-7: A Mail-Safe Transformation Format of | ||
| # Unicode", RFC 2152, May 1997. | ||
| # | ||
| class IMAP | ||
| class IMAP < Protocol | ||
| include MonitorMixin | ||
| if defined?(OpenSSL::SSL) | ||
| include OpenSSL | ||
| ... | ... | |
| end | ||
| @sock = SSLSocket.new(@sock, context) | ||
| @sock.sync_close = true | ||
| @sock.connect | ||
| ssl_socket_connect(@sock, @open_timeout) | ||
| if context.verify_mode != VERIFY_NONE | ||
| @sock.post_connection_check(@host) | ||
| end | ||
- « Previous
- 1
- 2
- 3
- Next »