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

@@ -66,6 +66,9 @@ xmpp_conn_t *xmpp_conn_new(xmpp_ctx_t * const ctx)
conn->tls_support = 0;
conn->sasl_support = 0;
conn->bind_required = 0;
conn->session_required = 0;
conn->parser = NULL;
conn->stanza = NULL;
parser_prepare_reset(conn, auth_handle_open);