Commit Graph

65 Commits (94aceac802e51f58710300bd94d33566bb3b236f)

Author SHA1 Message Date
remicorniere 94aceac802 Changed "Disconnect" to wait for the closing stream tag. (#141)
4 years ago
remicorniere e62b7fa0c7
Update client.go
4 years ago
remicorniere daf37cf5a8
Update Disconnect method on client
4 years ago
CORNIERE Rémi 390336b894 Added Roster IQs
4 years ago
rcorniere fd48f52f3d Using precisely sized buffers for tcp tests
4 years ago
CORNIERE Rémi 6d8e9d325a Try removing decoder from IQ tests and changing writing method
4 years ago
CORNIERE Rémi e675e65a59 Added callback to process errors after connection.
4 years ago
remicorniere b74c0f0374
Merge pull request #136 from Crypho/eventmanager-status
4 years ago
Wichert Akkerman f41177775a Make keepalive interval configurable
4 years ago
Wichert Akkerman f8c992a385 Fix updating of EventManager.CurrentState
4 years ago
remicorniere 1822089db6 Tests for Component and code style fixes (#129)
4 years ago
Mickael Remond 6aa1e668ee
Fix issues after refactor
5 years ago
Wichert Akkerman a0e74051fd Use a channel based API for SendIQ
5 years ago
Wichert Akkerman 83bc8581fd Cleanup the IQ result route API
5 years ago
Wichert Akkerman 8088e3fa7e Add Client.SendIQ method
5 years ago
Wichert Akkerman 33446ad0ba Create a new stream after StartTLS
5 years ago
Wichert Akkerman 60e2cdd088 Close the transport if NewSession fails
5 years ago
Wichert Akkerman 92329b48e6 Transports need to handle open/close stanzas
5 years ago
Wichert Akkerman 36e153f981 Allow transports to define their own ping mechanism
5 years ago
Wichert Akkerman 8fb3e33a1f Only do ensurePort for XMPP transport
5 years ago
Wichert Akkerman 06a76160c8 Use transport factory function
5 years ago
Wichert Akkerman 7fa4b06705 Move address into transport config
5 years ago
Wichert Akkerman e97d290e2b Use Transport in Component
5 years ago
Wichert Akkerman 96fccbd399 Split out TransportConfiguration
5 years ago
Wichert Akkerman a3c62e515e Introduce Transport interface
5 years ago
Mickael Remond 9c8353d081 Introduce Credential structure to define auth type
5 years ago
Mickael Remond 005c8823d9 Fixes issue with unescaped character %
5 years ago
Mickael Remond 8794ea6ed8
Check if we have a connection open before trying to close it
5 years ago
Mickael Remond 80d2e0fa1e Remove debug print-out
5 years ago
Mickael Remond 2e864ff7f6 Clean-up: remove test/debug code
5 years ago
Mickael Remond 3de99e0e0e Add initial support for stream management
5 years ago
Mickael Remond c41d068c9f
Improve comments
5 years ago
Mickael Remond 7deaf59642
Quickfix for build error
5 years ago
genofire fe6cea870d use highest DNS-SRV entry for client connection
5 years ago
Mickael Remond 5992cc2231 Fix XMPP logger consistency
5 years ago
Mickael Remond 428787d7ab
Refactor and move parsing and stanza to a separate package
5 years ago
Mickael Remond 445bb8efa3
Fix crash on send when disconnected
5 years ago
Mickael Remond 1c792e61c6 Adding tests and always use brackets in IPV6 addresses
5 years ago
genofire fde524ef98 fix connection to ipv6 address + use fallback to jid domain
5 years ago
Mickael Remond d6d371df4d Do not export Router.route as it is not supposed to be called directly
5 years ago
genofire d9fdff0839 Add constants (enumlike) for stanza types and simplify packet creation (#62)
5 years ago
Mickael Remond 4d015e5b29
With go modules, we should be able to remove import comments
5 years ago
Mickael Remond 45c7ca74b1 Make client use the new Router
5 years ago
Mickaël Rémond 4d4710463d
Add basic support for keep-alive (#48)
5 years ago
Mickael Remond 411619c2ef
Make channel type more specific (Packet instead of interface{})
5 years ago
Mickael Remond 909cf753c9 Fix missing default channel creation
5 years ago
Mickael Remond 736a60cd1b Use StreamClient interface in StreamManager
5 years ago
Mickael Remond 021f6d3740 Refactor ClientManager into a more generic StreamManager
5 years ago
Mickael Remond b7461ae97f
Do not reconnect on "connection replaced" stream errors
5 years ago
Mickael Remond 2d8d4516fd
Handling basic unrecoverable errors
5 years ago