Skip to content

Commit

Permalink
TLS defaultSupported from def change in test suite
Browse files Browse the repository at this point in the history
Change-Id: I3823d30328eda4c47929dd6f247fd3fb9b0ba115
  • Loading branch information
chessai committed Oct 29, 2024
1 parent 23e84c4 commit 538c3b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions chainweb.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,7 @@ test-suite chainweb-tests
, temporary >= 1.3
, text >=2.0
, time >= 1.12.2
, tls >=1.9
, transformers >= 0.5
, unliftio >= 0.2.25
, unordered-containers >= 0.2.20
Expand Down Expand Up @@ -753,6 +754,7 @@ executable cwtool
, temporary >= 1.3
, time >= 1.9
, text >= 2.0
, tls >=1.9
, unliftio >= 0.2.25
, unordered-containers >= 0.2.20
, vector >= 0.12.2
Expand Down
4 changes: 2 additions & 2 deletions test/Chainweb/Test/Utils.hs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ import Data.Bifunctor hiding (second)
import qualified Data.ByteString as B
import qualified Data.ByteString.Lazy as BL
import Data.Coerce (coerce)
import Data.Default (def)
import Data.Foldable
import qualified Data.HashMap.Strict as HashMap
import Data.IORef
Expand All @@ -157,6 +156,7 @@ import Network.Socket (close)
import qualified Network.Wai as W
import qualified Network.Wai.Handler.Warp as W
import Network.Wai.Handler.WarpTLS as W (runTLSSocket)
import Network.TLS.QUIC qualified as TLS

import Numeric.Natural

Expand Down Expand Up @@ -1143,7 +1143,7 @@ getClientEnv :: BaseUrl -> IO ClientEnv
getClientEnv url = flip mkClientEnv url <$> HTTP.newTlsManagerWith mgrSettings
where
mgrSettings = HTTP.mkManagerSettings
(HTTP.TLSSettingsSimple True False False def)
(HTTP.TLSSettingsSimple True False False TLS.defaultSupported)
Nothing

-- | Backoff up to a constant 250ms, limiting to ~40s
Expand Down

0 comments on commit 538c3b5

Please sign in to comment.