@ -67,7 +68,8 @@ import qualified Data.Text as Text
@@ -67,7 +68,8 @@ import qualified Data.Text as Text
importData.Typeable(Typeable)
importData.XML.Types
importqualifiedNetwork.TLSasTLS
importNetwork.TLShiding(Version)
importNetwork.TLS.Extra
importqualifiedNetworkasN
@ -666,7 +668,7 @@ data XmppFailure = StreamErrorFailure StreamErrorInfo -- ^ An error XML stream
@@ -666,7 +668,7 @@ data XmppFailure = StreamErrorFailure StreamErrorInfo -- ^ An error XML stream
-- failed.
|XmppIllegalTcpDetails-- ^ The TCP details provided did not
-- validate.
|TlsErrorTLS.TLSError-- ^ An error occurred in the
|TlsErrorTLSError-- ^ An error occurred in the
-- TLS layer
|TlsNoServerSupport-- ^ The server does not support
-- the use of TLS
@ -1042,6 +1044,8 @@ data StreamConfiguration =
@@ -1042,6 +1044,8 @@ data StreamConfiguration =
-- session bind as defined in the (outdated)
-- RFC 3921 specification
,establishSession::Bool
-- | Settings to be used for TLS negotitation
,tlsParams::TLSParams
}
@ -1051,6 +1055,10 @@ instance Default StreamConfiguration where
@@ -1051,6 +1055,10 @@ instance Default StreamConfiguration where