WIP XEP-0198: implement stream management

Stream management is enabled when server supports it. There is no option
to disable it.
This commit is contained in:
Dmitry Podgorny
2017-07-15 21:11:03 +03:00
committed by Steffen Jaeckel
parent 3600756723
commit 57bc4bbb75
4 changed files with 92 additions and 5 deletions

View File

@@ -204,6 +204,10 @@ struct _xmpp_conn_t {
/* if server returns <bind/> or <session/> we must do them */
int bind_required;
int session_required;
int sm_support;
int sm_enabled;
uint32_t sm_handled_nr;
uint32_t sm_sent_nr;
char *lang;
char *domain;