Commit Graph

5 Commits

Author SHA1 Message Date
Lefteris Chatzimparmpas 7435dc6d1d Add support to recover when BYE is received
Previously only network errors could cause a restoration of a session,
but now a BYE response sent by the server can also trigger it.

An option has been also added to control if and when the recover
function will be called.
2012-02-27 01:22:37 +01:00
Lefteris Chatzimparmpas 4160f7c708 Set default network timeout value to 60. 2012-02-20 00:09:14 +01:00
Lefteris Chatzimparmpas 2cafede975 Use session pointer to denote accounts
Instead of the account details, a pointer to the C structure is used in
Lua, stored as light userdata.

The 1.x deprecated configuration format has been removed, partly due to
the above change, and partly because it has been included for long
enough now.
2012-02-14 22:13:15 +01:00
Lefteris Chatzimparmpas dc5b33b60a Port to Lua 5.2. 2012-02-05 13:29:43 +01:00
Lefteris Chatzimparmpas 4fe1a3d649 Change file and directory structure
Move the source code to the src dir, the man pages to the doc dir, and
the example configuration files to the samples dir, and update all
relevant files to reflect the changes.
2011-03-06 13:34:44 +01:00