packages feed

crypton-connection 0.3.1 → 0.3.2

raw patch · 3 files changed

+14/−7 lines, 3 filesdep ~tlsPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: tls

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,7 +1,8 @@-## Version 0.2.1 (16 April 2014)+## Version 0.3.2 -- Fix a difference between TLSSettings and TLSSettingsSimple,-  where connection would override the connection hostname and port in-  the simple case, but leave the field as is with TLSSettings.-  TLSSettings can now be used properly as template, and will be-  correctly overriden at the identification level only.+* Supporting tls v2.0.0.++## Version 0.3.1++* The first release to support crypton.+
Network/Connection.hs view
@@ -101,10 +101,16 @@     { TLS.sessionResume     = \sessionID -> withMVar mvar (return . M.lookup sessionID)     , TLS.sessionEstablish  = \sessionID sessionData ->                                modifyMVar_ mvar (return . M.insert sessionID sessionData)+#if MIN_VERSION_tls(2,0,0)+       >> return Nothing+#endif     , TLS.sessionInvalidate = \sessionID -> modifyMVar_ mvar (return . M.delete sessionID) #if MIN_VERSION_tls(1,5,0)     , TLS.sessionResumeOnlyOnce = \sessionID ->          modifyMVar mvar (pure . swap . M.updateLookupWithKey (\_ _ -> Nothing) sessionID)+#endif+#if MIN_VERSION_tls(2,0,0)+    , TLS.sessionUseTicket = False #endif     } 
crypton-connection.cabal view
@@ -1,5 +1,5 @@ Name:                crypton-connection-Version:             0.3.1+Version:             0.3.2 Description:     Simple network library for all your connection need.     .