Hello community, here is the log from the commit of package ghc-http-client-tls for openSUSE:Factory checked in at 2017-05-10 20:49:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-http-client-tls (Old) and /work/SRC/openSUSE:Factory/.ghc-http-client-tls.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ghc-http-client-tls" Wed May 10 20:49:33 2017 rev:7 rq:491476 version:0.3.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-http-client-tls/ghc-http-client-tls.changes 2017-03-20 17:07:23.292293318 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-http-client-tls.new/ghc-http-client-tls.changes 2017-05-10 20:49:34.390842679 +0200 @@ -1,0 +2,5 @@ +Sun Apr 9 18:08:08 UTC 2017 - psimons@suse.com + +- Update to version 0.3.4.1 with cabal2obs. + +------------------------------------------------------------------- Old: ---- http-client-tls-0.3.4.tar.gz New: ---- http-client-tls-0.3.4.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-http-client-tls.spec ++++++ --- /var/tmp/diff_new_pack.mLJKGA/_old 2017-05-10 20:49:35.374703848 +0200 +++ /var/tmp/diff_new_pack.mLJKGA/_new 2017-05-10 20:49:35.378703283 +0200 @@ -19,7 +19,7 @@ %global pkg_name http-client-tls %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.3.4 +Version: 0.3.4.1 Release: 0 Summary: Http-client backend using the connection package and tls library License: MIT ++++++ http-client-tls-0.3.4.tar.gz -> http-client-tls-0.3.4.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/http-client-tls-0.3.4/ChangeLog.md new/http-client-tls-0.3.4.1/ChangeLog.md --- old/http-client-tls-0.3.4/ChangeLog.md 2017-02-26 15:39:37.000000000 +0100 +++ new/http-client-tls-0.3.4.1/ChangeLog.md 2017-04-07 12:39:37.000000000 +0200 @@ -1,3 +1,7 @@ +## 0.3.4.1 + +* Better exception cleanup behavior + ## 0.3.4 * Add 'newTlsManager' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/http-client-tls-0.3.4/Network/HTTP/Client/TLS.hs new/http-client-tls-0.3.4.1/Network/HTTP/Client/TLS.hs --- old/http-client-tls-0.3.4/Network/HTTP/Client/TLS.hs 2017-02-26 15:38:40.000000000 +0100 +++ new/http-client-tls-0.3.4.1/Network/HTTP/Client/TLS.hs 2017-03-03 05:31:27.000000000 +0100 @@ -116,14 +116,15 @@ -> IO (Maybe HostAddress -> String -> Int -> IO Connection) getTlsConnection mcontext tls sock = do context <- maybe NC.initConnectionContext return mcontext - return $ \_ha host port -> do - conn <- NC.connectTo context NC.ConnectionParams + return $ \_ha host port -> bracketOnError + (NC.connectTo context NC.ConnectionParams { NC.connectionHostname = host , NC.connectionPort = fromIntegral port , NC.connectionUseSecure = tls , NC.connectionUseSocks = sock - } - convertConnection conn + }) + NC.connectionClose + convertConnection getTlsProxyConnection :: Maybe NC.ConnectionContext diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/http-client-tls-0.3.4/http-client-tls.cabal new/http-client-tls-0.3.4.1/http-client-tls.cabal --- old/http-client-tls-0.3.4/http-client-tls.cabal 2017-02-26 15:38:40.000000000 +0100 +++ new/http-client-tls-0.3.4.1/http-client-tls.cabal 2017-04-07 12:39:41.000000000 +0200 @@ -1,5 +1,5 @@ name: http-client-tls -version: 0.3.4 +version: 0.3.4.1 synopsis: http-client backend using the connection package and tls library description: Hackage documentation generation is not reliable. For up to date documentation, please see: https://www.stackage.org/package/http-client-tls. homepage: https://github.com/snoyberg/http-client