1
0
Эх сурвалжийг харах

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

Akinori MUSHA 1 жил өмнө
parent
commit
dfb8aabf9f

+ 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