Feature #15594 ยป 0001-net-imap-support-SNI.patch
lib/net/imap.rb | ||
---|---|---|
end
|
||
@sock = SSLSocket.new(@sock, context)
|
||
@sock.sync_close = true
|
||
@sock.hostname = @host if @sock.respond_to? :hostname=
|
||
ssl_socket_connect(@sock, @open_timeout)
|
||
if context.verify_mode != VERIFY_NONE
|
||
@sock.post_connection_check(@host)
|