Skip to content

Commit

Permalink
Allow crypton-connection-0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
mrkkrp committed May 23, 2024
1 parent 7d11421 commit 3a32195
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Network/HTTP/Req.hs
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ import Data.ByteString qualified as B
import Data.ByteString.Lazy qualified as BL
import Data.CaseInsensitive qualified as CI
import Data.Data (Data)
import Data.Default.Class (def)
import Data.Function (on)
import Data.IORef
import Data.Kind (Constraint, Type)
Expand Down Expand Up @@ -606,7 +607,7 @@ globalManager = unsafePerformIO $ do
let settings =
L.mkManagerSettingsContext
(Just context)
(NC.TLSSettingsSimple False False False)
(NC.TLSSettingsSimple False False False def)
Nothing
manager <- L.newManager settings
newIORef manager
Expand Down
3 changes: 2 additions & 1 deletion req.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ library
bytestring >=0.10.8 && <0.13,
case-insensitive >=0.2 && <1.3,
containers >=0.5 && <0.7,
crypton-connection >=0.2.2 && <0.4,
crypton-connection >=0.4 && <0.5,
data-default-class,
exceptions >=0.6 && <0.11,
http-api-data >=0.2 && <0.7,
http-client >=0.7.13.1 && <0.8,
Expand Down

0 comments on commit 3a32195

Please sign in to comment.