Commit Graph

32 Commits

Author SHA1 Message Date
Martin Dosch
e38acf3e92
Improve behavior when no SRV records are set. 2024-02-25 18:34:11 +01:00
Martin Dosch
6ea4de828f
Improve fallback behavior if no SRV records are provided. 2024-02-22 21:46:09 +01:00
Martin Dosch
7677d2907a
Add experimental support for SOCKS5 proxies. 2024-01-13 15:01:42 +01:00
Martin Dosch
fc1342ab29
Update go modules. 2024-01-10 16:21:39 +01:00
Martin Dosch
802f57d404
[gofumpt]: Improve formatting. 2023-11-25 19:52:55 +01:00
Martin Dosch
d482347310
Switch back to upstream go-xmpp library. 2023-11-11 14:30:23 +01:00
Martin Dosch
7dbbcf45e7
Add support for SCRAM PLUS variants and mechanism pinning. 2023-11-02 21:29:07 +01:00
Martin Dosch
a034a8e501
Temporarily switch to go-xmpp fork. 2023-11-02 21:05:16 +01:00
Martin Dosch
d56e528680
Fix segfault when connecting with wrong credentials. 2023-08-16 08:01:38 +02:00
Martin Dosch
a912408d16
Wrap and unwrap errors. 2023-06-07 22:28:01 +02:00
Martin Dosch
4664c02cbc
Simplify connection code. 2023-06-06 21:36:28 +02:00
Martin Dosch
28521a16aa
Simplify connection code. 2023-06-06 19:13:43 +02:00
Martin Dosch
620130aded
gofumpt 2023-06-06 10:47:40 +02:00
Martin Dosch
1def52c15c
[golangci-lint]: Return nil instead of err when err is nil. 2023-06-05 21:57:19 +02:00
Martin Dosch
b444e8d2dd
[golangci-lint]: Remove unnecessary trailing newline. 2023-06-04 16:18:42 +02:00
Martin Dosch
5e26b4e70b
[golangci-lint]: Simplify code. 2023-06-04 15:21:03 +02:00
Martin Dosch
8f844b1cde
Fall back to direct TLS on port 5223
Fall back to direct TLS on port 5223 if direct tls is set and no SRV
records are provided.
2023-06-04 11:47:56 +02:00
Martin Dosch
437cd7eec6
Remove copyright years. 2023-05-11 20:06:23 +02:00
Martin Dosch
6893307841 Fix typo in license header. 2022-05-02 17:13:50 +02:00
Martin Dosch
ca8dec5ca1 Use xmppsrv for SRV lookups. 2021-09-29 18:18:58 +02:00
Martin Dosch
af17660614 Remove unnecessary else clause. 2021-03-04 20:00:42 +01:00
Martin Dosch
23cf25caa6 Split on first @ instead of the last to get the domain (thx Sam) 2021-03-03 22:10:45 +01:00
Martin Dosch
9044bbb998 Remove trailing . of hostnames. 2021-03-03 22:05:47 +01:00
Martin Dosch
4ac87d88e1 Use net.JoinHostPort for adding the port to the host (thx Sam) 2021-03-03 21:56:37 +01:00
Martin Dosch
6df64d2446 Don't use xmpps-client SRV records if target is "." 2021-03-03 17:29:17 +01:00
Martin Dosch
ec185d75d7 Update copyright year 2021-03-03 11:48:27 +01:00
Martin Dosch
d00ca7cd37 Mix xmpp-client and xmpps-client SRV records (sorted by prio) 2021-03-02 14:54:49 +01:00
Martin Dosch
4297630c32 Put back accidentally removed package declaration. 2021-02-28 17:03:52 +01:00
Martin Dosch
b097e89a53 Add license header. 2021-02-28 17:02:32 +01:00
Martin Dosch
adc2231f25 Fall back to 5222 if no xmpp-client SRV records are provided 2021-02-28 14:26:40 +01:00
Martin Dosch
0811f434cb Remove nonsense TODO 2021-02-28 14:23:42 +01:00
Martin Dosch
702ce9ff47 Look up SRV records for xmpp- and xmpps-client 2021-02-28 13:57:06 +01:00