removing old ALPN values.
commit241a83c0a0b930ef3d3e25a6a450752b7b0eb593
authorKazu Yamamoto <kazu@iij.ad.jp>
dateThu 20 Apr 2017, 14:54 (9 years ago)
parent6eadc47
warp-tls/Network/Wai/Handler/WarpTLS.hs−3
@@ -275,9 +275,6 @@ runTLSSocket' tlsset@TLSSettings{..} set credential sock app =
275275alpn :: [S.ByteString] -> IO S.ByteString
276276alpn xs
277277 | "h2" `elem` xs = return "h2"
278− | "h2-16" `elem` xs = return "h2-16"
279− | "h2-15" `elem` xs = return "h2-15"
280− | "h2-14" `elem` xs = return "h2-14"
281278 | otherwise = return "http/1.1"
282279
283280----------------------------------------------------------------