Implement session establishment, which is required if the server

advertises it.  Fixes bugs relating to not-authorized errors on 
XMPP compliant servers.
This commit is contained in:
Jack Moffitt
2005-10-18 07:58:38 +00:00
parent 34f2b3097e
commit b992133987
3 changed files with 125 additions and 16 deletions

View File

@@ -161,6 +161,10 @@ struct _xmpp_conn_t {
int sasl_support; /* if true, field is a bitfield of supported
mechanisms */
/* if server returns <bind/> or <session/> we must do them */
int bind_required;
int session_required;
char *lang;
char *domain;
char *jid;