Hello community,

here is the log from the commit of package ghc-connection for openSUSE:Factory 
checked in at 2017-04-14 13:37:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-connection (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-connection.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-connection"

Fri Apr 14 13:37:27 2017 rev:6 rq:485115 version:0.2.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-connection/ghc-connection.changes    
2017-02-22 13:53:20.593950111 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-connection.new/ghc-connection.changes       
2017-04-14 13:37:28.433487320 +0200
@@ -1,0 +2,5 @@
+Mon Mar 27 12:38:01 UTC 2017 - [email protected]
+
+- Update to version 0.2.8 with cabal2obs.
+
+-------------------------------------------------------------------

Old:
----
  connection-0.2.7.tar.gz

New:
----
  connection-0.2.8.tar.gz

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

Other differences:
------------------
++++++ ghc-connection.spec ++++++
--- /var/tmp/diff_new_pack.KtIlP8/_old  2017-04-14 13:37:29.233374273 +0200
+++ /var/tmp/diff_new_pack.KtIlP8/_new  2017-04-14 13:37:29.241373142 +0200
@@ -18,7 +18,7 @@
 
 %global pkg_name connection
 Name:           ghc-%{pkg_name}
-Version:        0.2.7
+Version:        0.2.8
 Release:        0
 Summary:        Simple and easy network connections API
 License:        BSD-3-Clause

++++++ connection-0.2.7.tar.gz -> connection-0.2.8.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/connection-0.2.7/Network/Connection.hs 
new/connection-0.2.8/Network/Connection.hs
--- old/connection-0.2.7/Network/Connection.hs  2017-01-26 17:00:15.000000000 
+0100
+++ new/connection-0.2.8/Network/Connection.hs  2017-03-20 23:42:12.000000000 
+0100
@@ -368,10 +368,12 @@
 -- | Close a connection.
 connectionClose :: Connection -> IO ()
 connectionClose = withBackend backendClose
-    where backendClose (ConnectionTLS ctx)  = TLS.bye ctx >> TLS.contextClose 
ctx
+    where backendClose (ConnectionTLS ctx)  = ignoreIOExc (TLS.bye ctx) 
`E.finally` TLS.contextClose ctx
           backendClose (ConnectionSocket sock) = N.close sock
           backendClose (ConnectionStream h) = hClose h
 
+          ignoreIOExc action = action `E.catch` \(_ :: E.IOException) -> 
return ()
+
 -- | Activate secure layer using the parameters specified.
 --
 -- This is typically used to negociate a TLS channel on an already
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/connection-0.2.7/connection.cabal 
new/connection-0.2.8/connection.cabal
--- old/connection-0.2.7/connection.cabal       2017-01-26 17:00:39.000000000 
+0100
+++ new/connection-0.2.8/connection.cabal       2017-03-20 23:42:35.000000000 
+0100
@@ -1,5 +1,5 @@
 Name:                connection
-Version:             0.2.7
+Version:             0.2.8
 Description:
     Simple network library for all your connection need.
     .


Reply via email to