summaryrefslogtreecommitdiffhomepage
path: root/Gpg
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2017-05-02 22:45:58 -0400
committerJoey Hess <joeyh@joeyh.name>2017-05-02 22:45:58 -0400
commitee4f328031c8072868854ebcd5a1e5b628a226ae (patch)
treedfcd14d0433c1aba608aa8e5cacd0791965267aa /Gpg
parent3b7b248eaada1bbf71f467c37a5da1196e1bba83 (diff)
downloaddebug-me-ee4f328031c8072868854ebcd5a1e5b628a226ae.tar.gz
allow building with versions in debian
When built with old websockets, compression is not supported. Client and server will negotiate that so version skew between them is not a problem.
Diffstat (limited to 'Gpg')
-rw-r--r--Gpg/Wot.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Gpg/Wot.hs b/Gpg/Wot.hs
index a5d0450..f9051e9 100644
--- a/Gpg/Wot.hs
+++ b/Gpg/Wot.hs
@@ -62,7 +62,7 @@ wotServer = "https://pgp.cs.uu.nl/"
downloadWotStats :: GpgKeyId -> IO (Maybe WotStats)
downloadWotStats (GpgKeyId k) = do
- manager <- newTlsManager
+ manager <- getGlobalManager
request <- parseRequest url
response <- httpLbs request manager
return $ decode (responseBody response)
@@ -71,7 +71,7 @@ downloadWotStats (GpgKeyId k) = do
downloadWotPath :: GpgKeyId -> GpgKeyId -> IO (Maybe WotPath)
downloadWotPath (GpgKeyId fromid) (GpgKeyId toid) = do
- manager <- newTlsManager
+ manager <- getGlobalManager
request <- parseRequest url
response <- httpLbs request manager
return $ decode (responseBody response)