Commit Graph

  • 3c9b0db5b8 Fixed decoder usage. Decoders have internal buffering, and creating many on a single TCP connection can cause issues in parsing exchanged XML documents. rcorniere 2019-12-10 17:15:16 +0100
  • fd48f52f3d Using precisely sized buffers for tcp tests rcorniere 2019-12-10 14:30:15 +0100
  • 1f5591f33a Merge branch 'Error_Handling' of github.com:remicorniere/go-xmpp into Error_Handling rcorniere 2019-12-10 12:45:58 +0100
  • 6d8e9d325a Try removing decoder from IQ tests and changing writing method CORNIERE Rémi 2019-12-09 13:31:01 +0100
  • e675e65a59 Added callback to process errors after connection. Added tests and refactored a bit. CORNIERE Rémi 2019-12-05 18:12:00 +0100
  • b74c0f0374
    Merge pull request #136 from Crypho/eventmanager-status remicorniere 2019-12-09 15:30:53 +0000
  • 4f4e9f454f
    Merge pull request #134 from Crypho/configurable-keepalive remicorniere 2019-12-09 14:12:16 +0000
  • f41177775a Make keepalive interval configurable Wichert Akkerman 2019-12-04 22:17:58 +0100
  • f8c992a385 Fix updating of EventManager.CurrentState Wichert Akkerman 2019-12-09 12:30:37 +0100
  • 5eff2d7623 Added callback to process errors after connection. Added tests and refactored a bit. CORNIERE Rémi 2019-12-05 18:12:00 +0100
  • 6a3833b27d Removed last bits of codecov rcorniere 2019-12-02 10:19:39 +0100
  • 51db430cff
    Merge pull request #130 from remicorniere/master remicorniere 2019-11-29 16:15:08 +0000
  • bfe2b7a30f Removed codeship and codecov. We now use github actions and coveralls. rcorniere 2019-11-29 17:13:18 +0100
  • a95b53d9ad
    Update with coveralls badge. Removed codecov badge remicorniere 2019-11-29 16:37:23 +0100
  • 10078e2a1b
    Merge pull request #124 from Crypho/github-ci remicorniere 2019-11-29 15:18:01 +0000
  • 80ba790555
    Added coverage remicorniere 2019-11-29 15:56:27 +0100
  • c60edf4771
    Added "-race" flag to tests run command remicorniere 2019-11-28 17:40:19 +0100
  • 3b84cb796e Add 0.3.0 changelog v0.3.0 Jerome Sautret 2019-11-28 17:39:10 +0100
  • 1822089db6 Tests for Component and code style fixes (#129) remicorniere 2019-11-28 16:15:15 +0000
  • d1b3d8032d Fixed code style and added some tests rcorniere 2019-11-28 16:07:40 +0100
  • a81e61bdd4 Tests for Component and code style fixes rcorniere 2019-11-28 15:42:11 +0100
  • 6f35ae4103 Fix triggers Wichert Akkerman 2019-11-28 09:51:49 +0100
  • 7d89353156 Fix SIGSEGV in xmpp_component (#126) remicorniere 2019-11-22 15:07:40 +0100
  • 66ffa50a41 SIGSEGV in xmpp_component example with Prosody #126 rcorniere 2019-11-19 14:39:02 +0100
  • 583929fe3b SIGSEGV in xmpp_component example with Prosody #126 rcorniere 2019-11-19 14:12:09 +0100
  • c36e680078 SIGSEGV in xmpp_component example with Prosody #126 rcorniere 2019-11-19 11:48:50 +0100
  • 6aa1e668ee
    Fix issues after refactor Mickael Remond 2019-11-08 12:07:55 +0100
  • 9abd5be0aa Support partial JIDs in Bare/Full methods bodqhrohro 2019-11-06 01:27:37 +0200
  • 1539e4f193 Setup GitHub actions to run tests Wichert Akkerman 2019-11-05 14:03:56 +0100
  • 47976624c9
    Preparing v0.2.0 Changelog before version release Mickael Remond 2019-11-04 16:48:48 +0100
  • 4efde692a2
    Add placeholder in README for routing packets and get IQ responses Mickael Remond 2019-11-04 16:36:45 +0100
  • 08878ed4a2
    Update go.sum file Mickael Remond 2019-11-04 16:32:59 +0100
  • ce05c3226c
    Fix failing tests Mickael Remond 2019-11-04 16:32:29 +0100
  • 3e94880916
    Merge branch 'master' of https://github.com/FluuxIO/go-xmpp Mickael Remond 2019-11-04 16:25:07 +0100
  • eda5c23c54 Add SendIQ to StreamClient and Sender Wichert Akkerman 2019-10-31 20:08:39 +0100
  • a0e74051fd Use a channel based API for SendIQ Wichert Akkerman 2019-10-29 11:37:49 +0100
  • 83bc8581fd Cleanup the IQ result route API Wichert Akkerman 2019-10-29 11:02:41 +0100
  • 8088e3fa7e Add Client.SendIQ method Wichert Akkerman 2019-10-29 10:49:01 +0100
  • 070934743f Add tests for iq result routes Wichert Akkerman 2019-10-29 10:34:33 +0100
  • 6a25856e85 We need to lock isResultRoutes Wichert Akkerman 2019-10-29 10:34:23 +0100
  • 8e1dac6ffa Add IQ result routes to the Router Wichert Akkerman 2019-10-28 21:48:01 +0100
  • 21f6a549db Always add an id to IQ queries Wichert Akkerman 2019-10-28 21:21:35 +0100
  • 1d7db9ceee
    Comments clean-up Mickael Remond 2019-11-04 12:58:10 +0100
  • 0227596f90 Increase size of XML decoder internal buffers Wichert Akkerman 2019-11-01 21:57:38 +0100
  • 7b73fdcaac Increase size of XML decoder internal buffers Wichert Akkerman 2019-11-01 21:57:38 +0100
  • b4cfe14423 Add SendIQ to StreamClient and Sender Wichert Akkerman 2019-10-31 20:08:39 +0100
  • ebb6e845bf
    Update requirements to go1.13 as required by new websockets dependencies Mickael Remond 2019-10-29 14:52:31 +0100
  • a16483397d
    Update test platform to go1.13 Mickael Remond 2019-10-29 14:47:04 +0100
  • ef2c0b465e
    Update examples Mickael Remond 2019-10-29 14:39:58 +0100
  • d380e576d6 Use a channel based API for SendIQ Wichert Akkerman 2019-10-29 11:37:49 +0100
  • 63ab27e000 Cleanup the IQ result route API Wichert Akkerman 2019-10-29 11:02:41 +0100
  • 72bba5ab1e Add Client.SendIQ method Wichert Akkerman 2019-10-29 10:49:01 +0100
  • 0e414fa810 Add tests for iq result routes Wichert Akkerman 2019-10-29 10:34:33 +0100
  • c71cc999de We need to lock isResultRoutes Wichert Akkerman 2019-10-29 10:34:23 +0100
  • df572963f5 Add IQ result routes to the Router Wichert Akkerman 2019-10-28 21:48:01 +0100
  • 94c031c882 Always add an id to IQ queries Wichert Akkerman 2019-10-28 21:21:35 +0100
  • 2f8ec7b36f Only try startTls if the connection is not secure Wichert Akkerman 2019-10-28 14:46:13 +0100
  • 6da1962962 Correctly open new streams after StartTLS and auth Wichert Akkerman 2019-10-25 15:55:27 +0200
  • 33446ad0ba Create a new stream after StartTLS Wichert Akkerman 2019-10-25 15:22:01 +0200
  • 390f9b065e Replace readWriter and decoder after StartTLS Wichert Akkerman 2019-10-21 11:02:23 +0200
  • 60e2cdd088 Close the transport if NewSession fails Wichert Akkerman 2019-10-21 10:16:45 +0200
  • a6709a1f71 Do not try to create a stream logger before we have a net.Conn Wichert Akkerman 2019-10-21 10:10:18 +0200
  • 38bdcaec36 Do not copy more bytes than were read Wichert Akkerman 2019-10-21 10:05:43 +0200
  • ffadd331dd Add a go function to always read websockets Wichert Akkerman 2019-10-21 08:57:44 +0200
  • 92329b48e6 Transports need to handle open/close stanzas Wichert Akkerman 2019-10-18 20:29:54 +0200
  • 25fd476328 Negotiate xmpp websocket subprotocol Wichert Akkerman 2019-10-16 14:44:22 +0200
  • 36e153f981 Allow transports to define their own ping mechanism Wichert Akkerman 2019-10-15 20:56:11 +0200
  • d0f2b492ac Fix XMPP TLS config Wichert Akkerman 2019-10-12 20:47:16 +0200
  • 87ff01ac68 Fix websocket connect timeout Wichert Akkerman 2019-10-12 17:50:00 +0200
  • 01d78a1e5c Fix error result from Transport.Connect errors Wichert Akkerman 2019-10-12 17:46:53 +0200
  • 8fb3e33a1f Only do ensurePort for XMPP transport Wichert Akkerman 2019-10-12 15:49:22 +0200
  • a189748b9c Fix test for ws connection Wichert Akkerman 2019-10-12 15:48:29 +0200
  • 06a76160c8 Use transport factory function Wichert Akkerman 2019-10-11 07:19:55 +0200
  • 8db608ccc1 Add IsSecure() to Transport Wichert Akkerman 2019-10-11 07:15:47 +0200
  • 7fa4b06705 Move address into transport config Wichert Akkerman 2019-10-11 06:41:15 +0200
  • f8d0e99696 Move XMPP transport to separate file Wichert Akkerman 2019-10-11 06:32:26 +0200
  • e97d290e2b Use Transport in Component Wichert Akkerman 2019-10-11 06:24:47 +0200
  • 96fccbd399 Split out TransportConfiguration Wichert Akkerman 2019-10-11 06:24:27 +0200
  • 66e219844b Add a websocket transport Wichert Akkerman 2019-10-06 20:15:26 +0200
  • a3c62e515e Introduce Transport interface Wichert Akkerman 2019-10-06 19:37:56 +0200
  • cadfb5345e Only try startTls if the connection is not secure Wichert Akkerman 2019-10-28 14:46:13 +0100
  • 2d0622be3a Correctly open new streams after StartTLS and auth Wichert Akkerman 2019-10-25 15:55:27 +0200
  • a837cbf6e4 Create a new stream after StartTLS Wichert Akkerman 2019-10-25 15:22:01 +0200
  • 8c8db05af4 Replace readWriter and decoder after StartTLS Wichert Akkerman 2019-10-21 11:02:23 +0200
  • 733310e3a0 Close the transport if NewSession fails Wichert Akkerman 2019-10-21 10:16:45 +0200
  • a445349017 Do not try to create a stream logger before we have a net.Conn Wichert Akkerman 2019-10-21 10:10:18 +0200
  • 0be960e639 Do not copy more bytes than were read Wichert Akkerman 2019-10-21 10:05:43 +0200
  • 0ccb7c7c35 Add a go function to always read websockets Wichert Akkerman 2019-10-21 08:57:44 +0200
  • fbaefe5549 Transports need to handle open/close stanzas Wichert Akkerman 2019-10-18 20:29:54 +0200
  • 298e412095 Negotiate xmpp websocket subprotocol Wichert Akkerman 2019-10-16 14:44:22 +0200
  • e149c6f402 Allow transports to define their own ping mechanism Wichert Akkerman 2019-10-15 20:56:11 +0200
  • 98e5c3de23 Fix XMPP TLS config Wichert Akkerman 2019-10-12 20:47:16 +0200
  • da77374438 Fix websocket connect timeout Wichert Akkerman 2019-10-12 17:50:00 +0200
  • 41a662fde1 Fix error result from Transport.Connect errors Wichert Akkerman 2019-10-12 17:46:53 +0200
  • 0de58a5e4f Only do ensurePort for XMPP transport Wichert Akkerman 2019-10-12 15:49:22 +0200
  • 214a39da28 Fix test for ws connection Wichert Akkerman 2019-10-12 15:48:29 +0200
  • 7512329797 Use transport factory function Wichert Akkerman 2019-10-11 07:19:55 +0200
  • e8668bfafe Add IsSecure() to Transport Wichert Akkerman 2019-10-11 07:15:47 +0200
  • 2d4c076fcc Move address into transport config Wichert Akkerman 2019-10-11 06:41:15 +0200
  • 8fe8756bb4 Move XMPP transport to separate file Wichert Akkerman 2019-10-11 06:32:26 +0200