mirror of
https://github.com/snoyberg/keter.git
synced 2024-11-30 11:33:10 +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