File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1362
1362
(testing " with different HTTP versions in ALPN config"
1363
1363
(let [result (try-start-server
1364
1364
{:http-versions [:http2 ]
1365
- :ssl-context (netty/coerce- ssl-server-context
1365
+ :ssl-context (netty/ssl-server-context
1366
1366
(assoc test-ssl/server-ssl-context-opts
1367
1367
:application-protocol-config
1368
1368
(netty/application-protocol-config [:http1 ])))})]
1371
1371
(testing " with different preference order in ALPN config"
1372
1372
(let [result (try-start-server
1373
1373
{:http-versions [:http2 :http1 ]
1374
- :ssl-context (netty/coerce- ssl-server-context
1374
+ :ssl-context (netty/ssl-server-context
1375
1375
(assoc test-ssl/server-ssl-context-opts
1376
1376
:application-protocol-config
1377
1377
(netty/application-protocol-config [:http1 :http2 ])))})]
1389
1389
(testing " with matching ALPN config"
1390
1390
(let [result (try-start-server
1391
1391
{:http-versions [:http2 :http1 ]
1392
- :ssl-context (netty/coerce- ssl-server-context
1392
+ :ssl-context (netty/ssl-server-context
1393
1393
(assoc test-ssl/server-ssl-context-opts
1394
1394
:application-protocol-config
1395
1395
(netty/application-protocol-config [:http2 :http1 ])))})]
You can’t perform that action at this time.
0 commit comments