Philipp Balzarek
d6a2a44cf1
add formal test suite
12 years ago
Philipp Balzarek
5adbe2784a
close stream after failed connection attempt (including exceptions)
12 years ago
Philipp Balzarek
7d5007096e
clean up some minor problems
12 years ago
Philipp Balzarek
1ce5aaf222
improve reconnect
...
rename reconnect to reconnectNow
* reconnect immediately
* function returns failure mode on error
add reconnect function
* retries when reconnect failes
* waits exponentially increasing amount of seconds between attemps
* returns last encountered error when all attempts fail
12 years ago
Philipp Balzarek
5ad6c7f7c0
add a test case for closed connection
13 years ago
Jon Kristensen
2ca1ca20bb
Remove IsString instance of `Jid'
...
IsString instances are never supposed to fail, but parsing Strings to
JIDs might. We might do this later with Template Haskell instead, or
something.
13 years ago
Philipp Balzarek
96b6e5b6e9
derive Show for IMPresence
13 years ago
Philipp Balzarek
a7ac1e59e2
change reader conduit to buffered source
...
kill reader thread when end of stream is reached
13 years ago
Philipp Balzarek
0ad8187418
swap names of Context and Session
13 years ago
Philipp Balzarek
1e42a760de
Fix BufferedSource (couldn't handle leftovers and was therefore useless)
...
Factor out connection from Session
Abstract over connection type (remove mention of Handle)
13 years ago
Philipp Balzarek
9f552d0e98
make test/Tests.hs typecheck
13 years ago
Philipp Balzarek
a9f691cdcc
factor Channels out from Concurrent interface
13 years ago
Philipp Balzarek
91fa188484
add data forms test cases
13 years ago
Philipp Balzarek
e50a0dbd31
fix IBR always using IQ-Get
...
add IBR unregister method
improve TLS debug messages
13 years ago
Philipp Balzarek
58e611385f
Initial work on Data Forms, IBR
14 years ago
Philipp Balzarek
c89cf91a70
handle timeouts in sendIQ response processing
14 years ago
Philipp Balzarek
81b7460d53
Thread-safe error reporting in test client
14 years ago
Philipp Balzarek
4e24d6f16a
do proper disconnects
14 years ago
Philipp Balzarek
1d54682baa
rename JID to Jid
...
remove sUsername, aAuthzid, sResource from XmppConnection
add sJid to XmppConnection
14 years ago
Philipp Balzarek
cfb3597feb
add scram
...
add sAuthzid to XmppConnection
add sAuthzid to XmppConnection more work on sasl infrastructure
move more stuff from DigestMd5 to Common
more work on sasl infrastructure
14 years ago
Jon Kristensen
c26b6fb139
moved examples and tests out of the source directory
14 years ago
Philipp Balzarek
79e23b8cdd
added concurrent startSession
...
added pickler testcase
updated test client
14 years ago