mirror of
https://github.com/snoyberg/keter.git
synced 2024-11-27 10:12:01 +03:00
commit
729bdfa926
@ -150,7 +150,7 @@ reverseProxy listener = do
|
||||
connectClientCertificates :: (ByteString -> IO (Maybe (ProxyAction, TLS.Credentials))) -> Bool -> WarpTLS.TLSSettings -> WarpTLS.TLSSettings
|
||||
connectClientCertificates hl session s =
|
||||
let
|
||||
newHooks@TLS.ServerHooks{..} = WarpTLS.tlsServerHooks s
|
||||
newHooks = WarpTLS.tlsServerHooks s
|
||||
-- todo: add nested lookup
|
||||
newOnServerNameIndication (Just n) =
|
||||
maybe mempty snd <$> hl (S8.pack n)
|
||||
|
Loading…
Reference in New Issue
Block a user