File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 124
124
125
125
(def supported-http-versions #{:http1 :http2 })
126
126
(def supported-http-protocol-names (into #{}
127
- (map netty/key ->application-protocol-name)
127
+ (map netty/->application-protocol-name)
128
128
supported-http-versions))
129
129
130
130
(defn- assert-consistent-alpn-config! [alpn-protocols desired-http-versions]
131
- (let [desired-http-protocols (map netty/key ->application-protocol-name desired-http-versions)
131
+ (let [desired-http-protocols (map netty/->application-protocol-name desired-http-versions)
132
132
alpn-http-protocols (filter supported-http-protocol-names alpn-protocols)]
133
133
(when-not (= desired-http-protocols alpn-http-protocols)
134
134
(let [emsg (if-let [missing-http-protocols (seq (remove (set alpn-http-protocols) desired-http-protocols))]
Original file line number Diff line number Diff line change 900
900
:openssl SslProvider/OPENSSL
901
901
:openssl-refcnt SslProvider/OPENSSL_REFCNT))
902
902
903
- (def key ->application-protocol-name
903
+ (def ->application-protocol-name
904
904
{:http1 ApplicationProtocolNames/HTTP_1_1
905
905
:http2 ApplicationProtocolNames/HTTP_2})
906
906
You can’t perform that action at this time.
0 commit comments