Forgot a bit of a previous commit.

Extend features timeout, bind timeout, and legacy timeouts to 15 seconds.
This commit is contained in:
James Canete
2008-06-19 22:05:31 +00:00
parent ce235002c5
commit b63641f7f7
2 changed files with 9 additions and 7 deletions

View File

@@ -25,10 +25,10 @@
#endif
/* FIXME: these should be configurable */
#define FEATURES_TIMEOUT 5000 /* 5 seconds */
#define BIND_TIMEOUT 2000 /* 2 seconds */
#define FEATURES_TIMEOUT 15000 /* 15 seconds */
#define BIND_TIMEOUT 15000 /* 15 seconds */
#define SESSION_TIMEOUT 15000 /* 15 seconds */
#define LEGACY_TIMEOUT 2000 /* 2 seconds */
#define LEGACY_TIMEOUT 15000 /* 15 seconds */
static void _auth(xmpp_conn_t * const conn);
static void _handle_open_tls(xmpp_conn_t * const conn);