Hello community,

here is the log from the commit of package ghc-http-client for openSUSE:Factory 
checked in at 2015-10-06 13:24:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-http-client (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-http-client.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-http-client"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-http-client/ghc-http-client.changes  
2015-09-24 06:15:10.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-http-client.new/ghc-http-client.changes     
2015-10-06 13:24:23.000000000 +0200
@@ -1,0 +2,7 @@
+Sun Sep 27 10:04:09 UTC 2015 - [email protected]
+
+- update to 0.4.24
+* Use a new TlsExceptionHostPort exception to indicate the host and port of 
the 
+  server we were trying to connect to when a TLS exception occurred.
+
+-------------------------------------------------------------------

Old:
----
  http-client-0.4.23.tar.gz

New:
----
  http-client-0.4.24.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-http-client.spec ++++++
--- /var/tmp/diff_new_pack.IlORGN/_old  2015-10-06 13:24:23.000000000 +0200
+++ /var/tmp/diff_new_pack.IlORGN/_new  2015-10-06 13:24:23.000000000 +0200
@@ -21,7 +21,7 @@
 %bcond_with tests
 
 Name:           ghc-http-client
-Version:        0.4.23
+Version:        0.4.24
 Release:        0
 Summary:        HTTP client engine, intended as a base layer 
 License:        MIT

++++++ http-client-0.4.23.tar.gz -> http-client-0.4.24.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-client-0.4.23/ChangeLog.md 
new/http-client-0.4.24/ChangeLog.md
--- old/http-client-0.4.23/ChangeLog.md 2015-09-18 10:59:49.000000000 +0200
+++ new/http-client-0.4.24/ChangeLog.md 2015-09-24 08:54:33.000000000 +0200
@@ -1,3 +1,7 @@
+## 0.4.24
+
+* Use a new `TlsExceptionHostPort` exception to indicate the host and port of 
the server we were trying to connect to when a TLS exception occurred. See 
[commercialhaskell/stack#1010](https://github.com/commercialhaskell/stack/issues/1010)
+
 ## 0.4.23
 
 * Case insensitive cookie domains 
[#158](https://github.com/snoyberg/http-client/issues/158)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-client-0.4.23/Network/HTTP/Client/Core.hs 
new/http-client-0.4.24/Network/HTTP/Client/Core.hs
--- old/http-client-0.4.23/Network/HTTP/Client/Core.hs  2015-09-18 
10:59:49.000000000 +0200
+++ new/http-client-0.4.24/Network/HTTP/Client/Core.hs  2015-09-24 
08:54:33.000000000 +0200
@@ -146,13 +146,16 @@
 --
 -- Since 0.1.0
 responseOpen :: Request -> Manager -> IO (Response BodyReader)
-responseOpen req0 manager = mWrapIOException manager $ do
+responseOpen req0 manager = handle addTlsHostPort $ mWrapIOException manager $ 
do
     res <-
         if redirectCount req0 == 0
             then httpRaw req0 manager
             else go (redirectCount req0) req0
     maybe (return res) throwIO =<< applyCheckStatus req0 (checkStatus req0) res
   where
+    addTlsHostPort (TlsException e) = throwIO $ TlsExceptionHostPort e (host 
req0) (port req0)
+    addTlsHostPort e = throwIO e
+
     go count req' = httpRedirect
       count
       (\req -> do
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-client-0.4.23/Network/HTTP/Client/Types.hs 
new/http-client-0.4.24/Network/HTTP/Client/Types.hs
--- old/http-client-0.4.23/Network/HTTP/Client/Types.hs 2015-09-18 
10:59:49.000000000 +0200
+++ new/http-client-0.4.24/Network/HTTP/Client/Types.hs 2015-09-24 
08:54:33.000000000 +0200
@@ -133,6 +133,10 @@
                    -- and @transfer-encoding: chunked@ are used. Since 0.4.8.
                    --
                    -- Since 0.4.11 this exception isn't thrown anymore.
+                   | TlsExceptionHostPort SomeException S.ByteString Int
+                   -- ^ TLS exception, together with the host and port
+                   --
+                   -- @since 0.4.24
     deriving (Show, T.Typeable)
 instance Exception HttpException
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-client-0.4.23/http-client.cabal 
new/http-client-0.4.24/http-client.cabal
--- old/http-client-0.4.23/http-client.cabal    2015-09-18 10:59:49.000000000 
+0200
+++ new/http-client-0.4.24/http-client.cabal    2015-09-24 08:54:33.000000000 
+0200
@@ -1,5 +1,5 @@
 name:                http-client
-version:             0.4.23
+version:             0.4.24
 synopsis:            An HTTP client engine, intended as a base layer for more 
user-friendly packages.
 description:         Hackage documentation generation is not reliable. For up 
to date documentation, please see: 
<http://www.stackage.org/package/http-client>.
 homepage:            https://github.com/snoyberg/http-client


Reply via email to