ref: 3f30f380adb4c6eedf3c919590359c9746f5d8b3 network-protocol-xmpp/lib/Network/Protocol/XMPP d---------
Call TLS.getBytes again on EAGAIN

Since that's what the manpage says to do, and without it we sometimes
end up crashing when calling again would have worked.
Purge OverloadedStrings
Fix some whitespace
Don't need typable for exceptions anymore
Add Internal module
A message with no "type" is of type "normal"
Workaround for stream-xmlns issue

From my notes:

I discovered that it expects "{jabber:component:accept}jid" instead of
"{jabber:component:accept}id" for the stream id, which is against the spec.
Additionally, if the server sets the default xmlns to jabber:component:accept
it seems that the id attribute is parsed as having no xmlns and so does not
get found.
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.
8fd08bcb — Michael Alan Dorman 7 years ago
XMPP's open-coded ErrorT needs Applicative
If auth fails, include the error element in AuthenticationFailure.
3b3d4a2d — John Millikin 10 years ago
Add 'sessionIsSecure' function, so users can check whether the current
session is running over a secure channel.
70163d37 — John Millikin 10 years ago
Support authentication schemes that require post-success validation.

Fixes authentication failures with the SCRAM-SHA1 mechanism, reported
by Gergely Risko.
6304bac2 — John Millikin 10 years ago
Clean up Cabal file.

Bump package version to 0.4.1.