Skip to content
Snippets Groups Projects
Commit 77291e89 authored by Neil Mitchell's avatar Neil Mitchell
Browse files

#423, require crypton-connection >= 0.4.1 and fix compile errors

Summary:

Test Plan:
parent ee364a4b
No related branches found
No related tags found
No related merge requests found
Changelog for Hoogle (* = API change, @ = database format change)
Require and support crypton-connection >= 0.4.1
5.0.18.4, released 2024-01-14
Don't test on GHC 9.2 or earlier
Fix up the output of /stats to account for API changes
......
......@@ -53,7 +53,8 @@ library
conduit >= 1.3.0,
conduit-extra >= 1.2.3.2,
containers >= 0.5,
crypton-connection,
crypton-connection >= 0.4.1,
data-default-class,
deepseq,
directory,
extra >= 1.6.6,
......
......@@ -6,6 +6,7 @@ import System.FilePath
import Control.Monad.Extra
import System.Directory
import Data.Conduit.Binary (sinkFile)
import Data.Default.Class
import qualified Network.HTTP.Conduit as C
import Network.Connection
import qualified Data.Conduit as C
......@@ -45,7 +46,8 @@ downloadFile insecure file url = do
(TLSSettingsSimple {
settingDisableCertificateValidation = insecure,
settingDisableSession = False,
settingUseServerName = False
settingUseServerName = False,
settingClientSupported = def
}) Nothing
runResourceT $ do
response <- C.http request manager
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment