conn: clear features support on connection reset

Features may be changed when client reconnects.
This commit is contained in:
Dmitry Podgorny
2017-07-15 21:32:55 +03:00
parent e73b577e0b
commit b1b827cde6

View File

@@ -1222,6 +1222,10 @@ static void _conn_reset(xmpp_conn_t * const conn)
conn->tls_failed = 0;
conn->error = 0;
conn->tls_support = 0;
conn->bind_required = 0;
conn->session_required = 0;
handler_system_delete_all(conn);
}