소스 검색

Remove our ForceSNI hack when Ruby's net modules all support SNI by now

Akinori MUSHA 1 년 전
부모
커밋
dfb8aabf9f
1개의 변경된 파일0개의 추가작업 그리고 11개의 파일을 삭제
  1. 0 11
      config/initializers/force_sni.rb

+ 0 - 11
config/initializers/force_sni.rb

@@ -1,11 +0,0 @@
-require 'net/protocol'
-
-class Net::Protocol
-  module ForceSNI
-    def ssl_socket_connect(*)
-      @sock.hostname = @host if @sock.respond_to? :hostname=
-      super
-    end
-  end
-  prepend ForceSNI
-end