~singpolyma/network-protocol-xmpp

1c97f919aea7c67f0b0f72ca3ca75e26336e0841 — John Millikin 8 years ago c6bcfaa network-protocol-xmpp_0.4.8
Remove call to TLS.setPriorities, because the underlying libgnutls
function has been removed in recent upstream releases.

TLS connections seem to work fine without this call (tested with
talk.google.com), so I don't know if it was ever even needed.

Bump version to 0.4.8.
2 files changed, 2 insertions(+), 3 deletions(-)

M lib/Network/Protocol/XMPP/Handle.hs
M network-protocol-xmpp.cabal
M lib/Network/Protocol/XMPP/Handle.hs => lib/Network/Protocol/XMPP/Handle.hs +0 -1
@@ 52,7 52,6 @@ liftTLS' io = do
startTLS :: Handle -> ErrorT Text IO Handle
startTLS (SecureHandle _ _) = E.throwError "Can't start TLS on a secure handle"
startTLS (PlainHandle h) = liftTLS' $ TLS.runClient (TLS.handleTransport h) $ do
	TLS.setPriority [TLS.X509]
	TLS.setCredentials =<< TLS.certificateCredentials
	TLS.handshake
	SecureHandle h `fmap` TLS.getSession

M network-protocol-xmpp.cabal => network-protocol-xmpp.cabal +2 -2
@@ 1,5 1,5 @@
name: network-protocol-xmpp
version: 0.4.7
version: 0.4.8
license: GPL-3
license-file: license.txt
author: John Millikin <jmillikin@gmail.com>, Stephan Maka <stephan@spaceboyz.net>


@@ 21,7 21,7 @@ source-repository head
source-repository this
  type: git
  location: https://john-millikin.com/code/haskell-xmpp/
  tag: network-protocol-xmpp_0.4.7
  tag: network-protocol-xmpp_0.4.8

library
  ghc-options: -Wall -O2