Thijs Alkemade
|
e34348686c
Fix same typo, added more debugging.
|
10 years ago |
Thijs Alkemade
|
d57ae67a8e
Fix typo
|
10 years ago |
Thijs Alkemade
|
bc2b9e6090
Try to catch the error here.
|
10 years ago |
Thijs Alkemade
|
bfa0550a93
Adding net/server_select to make my own changes to it.
|
10 years ago |
Thijs Alkemade
|
aaa9d995a7
Ugly hack: tell verse explicitly to close the socket.
|
10 years ago |
Thijs Alkemade
|
b7054bf173
Close the connection with a slight delay.
|
10 years ago |
Thijs Alkemade
|
c56b6d1935
Close the client before closing the socket, to hopefully stop it from bombing out.
|
10 years ago |
Thijs Alkemade
|
a638ef4e60
Use plain "xmpp.net" as the stream identity.
|
10 years ago |
Thijs Alkemade
|
6207cd0601
Fix query.
|
10 years ago |
Thijs Alkemade
|
f8c568ee20
Make sure the different SANs exist first.
|
10 years ago |
Thijs Alkemade
|
ab7f18773d
Fix checking whether SANs exist.
|
10 years ago |
Thijs Alkemade
|
ebf8a2516c
Fix escaping.
|
10 years ago |
Thijs Alkemade
|
8a1ec81d38
Store the SANs on a certificate in the database.
|
10 years ago |
Thijs Alkemade
|
ad8e1d6904
Don't insert hostname elements as if they are SASL mechanisms.
|
10 years ago |
Thijs Alkemade
|
55ab4803cf
Fix SQL.
|
10 years ago |
Thijs Alkemade
|
072a113d08
Actually store the type of the public key on the certificate.
|
10 years ago |
Thijs Alkemade
|
2910b6c2a1
coroutine.resume returns any error that was raised inside the callback, but this didn't propagate it, causing xmppoke to hang on many errors. Wrapped all coroutine.resume calls in assert to make sure errors are printed with a stack trace and xmppoke halts.
|
10 years ago |
Thijs Alkemade
|
f7f10f9288
Fix the starttls required field getting overwritten.
|
10 years ago |
Thijs Alkemade
|
b8384da735
Don't overwrite the error when it's already set.
|
10 years ago |
Thijs Alkemade
|
c3a137ba72
Fix the results for multiple SRV records.
|
10 years ago |
Thijs Alkemade
|
3d247bc128
Make sure a failure to connect is still reported.
|
10 years ago |
Thijs Alkemade
|
1837e67027
Refactored the code to not make separate connections for SASL and cert detection. This means we make more connections to non-XMPP servers, but it means normal tests are slightly faster and will now deal correctly with servers not supporting sslv23.
|
10 years ago |
Thijs Alkemade
|
3bf86a2e88
Show the host-unknown error, if it happens.
|
10 years ago |
Thijs Alkemade
|
b70246cdd1
Add a commit after the SASL mechanisms.
|
10 years ago |
Thijs Alkemade
|
669ee86f2b
These fields should be decimals.
|
10 years ago |
Thijs Alkemade
|
44fe3e2e57
Added support for testing Tor hidden services (will break without unbound).
|
10 years ago |
Thijs Alkemade
|
e331bd3bd9
Fix all s2s test timing out after adding SASL.
|
11 years ago |
Thijs Alkemade
|
cdfa9dce80
Added support for showing the server's offered SASL mechanisms.
|
11 years ago |
Thijs Alkemade
|
f9b3269542
Error -> set done = t.
|
11 years ago |
Thijs Alkemade
|
086c5040a5
Support a number of errors like "connection failed" and "no encryption offered".
|
11 years ago |