We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32e29e1 commit 342333aCopy full SHA for 342333a
lib/async/http/protocol/https.rb
@@ -9,24 +9,6 @@
9
10
require_relative 'http2'
11
12
-require 'openssl'
13
-
14
-unless OpenSSL::SSL::SSLContext.instance_methods.include? :alpn_protocols=
15
- warn "OpenSSL implementation doesn't support ALPN."
16
17
- class OpenSSL::SSL::SSLContext
18
- def alpn_protocols= names
19
- return names
20
- end
21
22
23
- class OpenSSL::SSL::SSLSocket
24
- def alpn_protocol
25
- return nil
26
27
28
-end
29
30
module Async
31
module HTTP
32
module Protocol
0 commit comments