fix some build warnings
This commit is contained in:
parent
e116eb642a
commit
021ed4f1b9
2 changed files with 4 additions and 4 deletions
|
@ -9,7 +9,7 @@
|
|||
{-# LANGUAGE CPP #-}
|
||||
|
||||
module Utility.CoProcess (
|
||||
CoProcessHandle(..),
|
||||
CoProcessHandle,
|
||||
CoProcessState(..),
|
||||
start,
|
||||
stop,
|
||||
|
|
|
@ -244,12 +244,12 @@ getUrlInfo url uo = case parseURIRelaxed url of
|
|||
<=< lookup hContentDisposition . responseHeaders
|
||||
|
||||
existsconduit r req =
|
||||
let go = catchcrossprotoredir r (existsconduit' req uo)
|
||||
in catchJust matchconnectionrestricted go retconnectionrestricted
|
||||
let a = catchcrossprotoredir r (existsconduit' req uo)
|
||||
in catchJust matchconnectionrestricted a retconnectionrestricted
|
||||
|
||||
matchconnectionrestricted he@(HttpExceptionRequest _ (InternalException ie)) =
|
||||
case fromException ie of
|
||||
Just (ConnectionRestricted why) -> Just he
|
||||
Just (ConnectionRestricted _why) -> Just he
|
||||
_ -> Nothing
|
||||
matchconnectionrestricted _ = Nothing
|
||||
|
||||
|
|
Loading…
Reference in a new issue