Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move XMPP stream and SASL processing to xmpp repo | Evgeniy Khramtsov | 2018-07-06 | 1 | -1220/+0 |
| | |||||
* | Move move randoms module to p1_utils repo | Evgeniy Khramtsov | 2018-07-05 | 1 | -1/+1 |
| | |||||
* | Move shaper to p1_utils repo | Evgeniy Khramtsov | 2018-07-05 | 1 | -1/+1 |
| | |||||
* | Use error formatting functions from xmpp library | Evgeniy Khramtsov | 2018-06-25 | 1 | -18/+4 |
| | |||||
* | Don't call Mod:function() in xmpp_stream callbacks | Evgeniy Khramtsov | 2018-05-26 | 1 | -104/+136 |
| | | | | | | If a callback function is not defined by the `Mod` then a call to code_server process is performed. Under heavy load this may cause code_server to get overloaded. We now avoid this. | ||||
* | xmpp_stream_in: Run auth result callbacks earlier | Holger Weiss | 2018-02-26 | 1 | -11/+17 |
| | | | | | | Call Mod:handle_auth_success/4 and Mod:handle_auth_failure/4 before sending the SASL response rather than afterwards. This way, callbacks can send a custom response and disconnect. | ||||
* | Introduce option 'validate_stream' | Evgeniy Khramtsov | 2018-02-09 | 1 | -2/+3 |
| | | | | | | | | | | | | If set to `true`, all incoming XML packets are fully validated against known schemas. If an error occurs, the packet will be bounced with the corresponding error reason. The default value is `false`. The option might be useful to protect client software from sofisticated bugs related to XML validation as well as for client developers who want to catch validation errors at early stage of development. Note that the option might have slight performance impact, so use it with care on loaded machines. | ||||
* | Improve logging of idle s2s connections | Evgeniy Khramtsov | 2018-01-28 | 1 | -2/+3 |
| | |||||
* | Reduce log level for unexpected XML input | Holger Weiss | 2018-01-24 | 1 | -2/+2 |
| | | | | | Log a warning rather than an error when, for example, a client sends a stanza before opening the stream. | ||||
* | Update copyright dates | Evgeniy Khramtsov | 2018-01-05 | 1 | -1/+1 |
| | |||||
* | Get rid of ejabberd receiver | Evgeniy Khramtsov | 2017-12-26 | 1 | -25/+40 |
| | | | | | | | | | | | | ejabberd receivers were meant to serve connections from frontends to backends. However, this approach was not popular and frontend related code was removed in previous releases. Now, ejabberd receiver's code was also removed, making the code shorter and cleaner. Also, in stress tests ejabberd now handles load more robustly, without c2s processes overload (even with disabled shapers). ejabberd_socket.erl is renamed to xmpp_socket.erl: it's supposed to be finally moved into stand-alone xmpp library. | ||||
* | Fix processing order | Evgeniy Khramtsov | 2017-12-17 | 1 | -14/+14 |
| | |||||
* | Only allow compression after SASL | Evgeniy Khramtsov | 2017-12-13 | 1 | -4/+6 |
| | | | | | See XEP-0170 for details Thanks to Vitaly Takmazov for spotting this | ||||
* | Better process subtag decoding errors | Evgeniy Khramtsov | 2017-12-09 | 1 | -2/+7 |
| | |||||
* | Don't crash on unexpected XML events | Evgeniy Khramtsov | 2017-11-24 | 1 | -0/+10 |
| | | | | | In fact, seems like this is a problem in the receiver code (or fast_xml?) and should be fixed there | ||||
* | Reflect changes in the xmpp lib | Evgeniy Khramtsov | 2017-10-13 | 1 | -5/+5 |
| | |||||
* | Fix a typo | Evgeniy Khramtsov | 2017-08-25 | 1 | -1/+1 |
| | |||||
* | Fix closing of outbound S2S connections | Evgeniy Khramtsov | 2017-04-15 | 1 | -16/+15 |
| | |||||
* | Improve ejabberd_c2s:close() | Evgeniy Khramtsov | 2017-04-15 | 1 | -20/+15 |
| | |||||
* | Make sure stream trailer is sent in the very end | Evgeniy Khramtsov | 2017-04-14 | 1 | -6/+7 |
| | |||||
* | Fix c2s connection close on demand | Evgeniy Khramtsov | 2017-04-04 | 1 | -0/+10 |
| | | | | Fixes #1652 | ||||
* | Get rid of p1_sha calls | Alexey Shchepin | 2017-03-14 | 1 | -1/+1 |
| | |||||
* | Return 'closed' instead of 'einval' on closed sockets | Evgeniy Khramtsov | 2017-03-12 | 1 | -0/+2 |
| | |||||
* | External components must always provide 'to' attribute | Evgeniy Khramtsov | 2017-03-01 | 1 | -2/+2 |
| | |||||
* | Add s2s work-around for gmail.com | Evgeniy Khramtsov | 2017-02-28 | 1 | -3/+10 |
| | |||||
* | Don't perform useless resourceprep | Evgeniy Khramtsov | 2017-02-27 | 1 | -17/+9 |
| | |||||
* | Let ejabberd_c2s handle <session/> IQ | Holger Weiss | 2017-02-19 | 1 | -12/+1 |
| | | | | This fixes the counting of incoming stanzas for stream management. | ||||
* | Fix some dialyzer warnings | Evgeniy Khramtsov | 2017-02-18 | 1 | -2/+2 |
| | |||||
* | Use p1_server behaviour in xmpp_stream layer | Evgeniy Khramtsov | 2017-02-08 | 1 | -1/+1 |
| | |||||
* | Make test suite working again | Evgeniy Khramtsov | 2017-01-23 | 1 | -2/+2 |
| | |||||
* | Send <compressed/> in correct order | Evgeniy Khramtsov | 2017-01-21 | 1 | -11/+11 |
| | |||||
* | Update copyright headers in new files | Evgeniy Khramtsov | 2017-01-20 | 1 | -1/+1 |
| | |||||
* | Fix reporting dialback failures | Evgeniy Khramtsov | 2017-01-18 | 1 | -2/+2 |
| | |||||
* | Reset XML stream before sending SASL <success/> | Evgeniy Khramtsov | 2017-01-17 | 1 | -1/+1 |
| | |||||
* | Fix some corner cases while re-reading RFC6120 | Evgeniy Khramtsov | 2017-01-13 | 1 | -12/+9 |
| | |||||
* | Adopt remaining code to support new hooks | Evgeniy Khramtsov | 2017-01-09 | 1 | -139/+194 |
| | |||||
* | Reflect cyrsasl API changes in remaining code | Evgeniy Khramtsov | 2016-12-31 | 1 | -60/+94 |
| | |||||
* | More refactoring on session management | Evgeniy Khramtsov | 2016-12-30 | 1 | -82/+82 |
| | |||||
* | Add xmpp_stream_out behaviour and rewrite s2s/SM code | Evgeniy Khramtsov | 2016-12-28 | 1 | -266/+577 |
| | |||||
* | Rewrite ejabberd_service to use new XMPP stream API | Evgeniy Khramtsov | 2016-12-11 | 1 | -16/+88 |
| | |||||
* | Initial version of new XMPP stream behaviour (for review) | Evgeniy Khramtsov | 2016-12-11 | 1 | -0/+698 |