diff options
author | Joey Hess <joeyh@joeyh.name> | 2017-05-02 22:45:58 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-05-02 22:45:58 -0400 |
commit | ee4f328031c8072868854ebcd5a1e5b628a226ae (patch) | |
tree | dfcd14d0433c1aba608aa8e5cacd0791965267aa /Gpg/Wot.hs | |
parent | 3b7b248eaada1bbf71f467c37a5da1196e1bba83 (diff) | |
download | debug-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/Wot.hs')
-rw-r--r-- | Gpg/Wot.hs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |